curry

Convert an uncurried function to a curried function.

Examples

>>> curry fst 1 2
1
curry converts an uncurried function to a curried function.

Examples

>>> curry fst 1 2
1
Curry a function on strict pairs.
curry converts an uncurried function to a curried function.
curry converts an uncurried function to a curried function.

Examples

>>> curry fst 1 2
1
Convert between an uncurried function and a curryed function.
Not on Stackage, so not searched. Curry types
Provides combinators for currying and uncurrying functions over arbitrary vinyl records.
Curry a type-level list. In pseudo (dependent-)Haskell:
Curry xs y = foldr (->) y xs
Tuple curry/uncurry.
Converts an uncurried function to a curried function.
Curries a function expecting one RGB parameter.