Quick actions

cmd+k|ctrl+k

Navigation

Languages

TemplateHaskell - CurryN

Snippet info

Language

Haskell

Visibility

public

Author

homam

Created

2016-11-06T12:41:57Z

Updated

2016-11-09T20:25:41Z

{-# LANGUAGE TemplateHaskell #-}

import Curr

$(genCurries 20)

add5 (a, b, c, d, e) = a + b + c + d + e

main = print $ curry5 add5 1 2 3 4 5
INFO