@@ -311,11 +311,11 @@ id x = x
312{-| Given a 2-tuple, returns the first value. -}
312{-| Given a 2-tuple, returns the first value. -}
313fst : (a,b) -> a
313fst : (a,b) -> a
314−fst = Native.Basics.fst
314+fst (a,_) = a
316{-| Given a 2-tuple, returns the second value. -}
316{-| Given a 2-tuple, returns the second value. -}
317snd : (a,b) -> b
317snd : (a,b) -> b
318−snd = Native.Basics.snd
318+snd (_,b) = b
320{-| Flips the order of the first two arguments to a function. -}
320{-| Flips the order of the first two arguments to a function. -}
321flip : (a -> b -> c) -> (b -> a -> c)
321flip : (a -> b -> c) -> (b -> a -> c)
@@ -325,10 +325,10 @@ flip f b a = f a b
325This splits paired arguments into two separate arguments.
325This splits paired arguments into two separate arguments.
327curry : ((a,b) -> c) -> a -> b -> c
327curry : ((a,b) -> c) -> a -> b -> c
328−curry = Native.Basics.curry
328+curry f a b = f (a,b)
330{-| Change how arguments are passed to a function.
330{-| Change how arguments are passed to a function.
331This combines two arguments into a sigle pair.
331This combines two arguments into a sigle pair.
333uncurry : (a -> b -> c) -> (a,b) -> c
333uncurry : (a -> b -> c) -> (a,b) -> c
334−uncurry = Native.Basics.uncurry
334+uncurry f (a,b) = f a b