mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-11-15 01:25:05 +03:00
(.) should reduce with only two arguments
This commit is contained in:
parent
147352c99f
commit
e6d1cfdf9b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user