(.) should reduce with only two arguments

This commit is contained in:
Edwin Brady 2015-03-17 10:10:14 +00:00
parent 147352c99f
commit e6d1cfdf9b

View File

@ -31,7 +31,7 @@ infixl 9 .
||| Function composition
(.) : (b -> c) -> (a -> b) -> a -> c
(.) f g x = f (g x)
(.) f g = \x => f (g x)
||| Takes in the first two arguments in reverse order.
||| @ f the function to flip