Skip to content

Commit 82dc242

Browse files
committed
function application
1 parent 8287430 commit 82dc242

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

haskell/function_application.hs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
f a + b -- meaning f(a) + b, rather than f(a + b) -- `f` apply to `a`
2+
f a b -- f(a, b)
3+
f (g x) -- f(g(x))
4+
f x (g y) -- f(x, g(y))
5+
f x * g y -- f(x) * g(y)

0 commit comments

Comments
 (0)