Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: Functional Programming Differences. Parent comment
f: R -> R x |-> blah(x)
f : (float -> float) = fun x -> blah x
The composition operator can easily be seen as a function with two arguments, which show "first class" functions:
o : (R->R), (R->R) -> (R -> R ) (f , g ) |-> (x |-> f(g(x)))
o : ((R->R), (R->R) , R) -> R (f , g , x) |-> f(g(x)))
There are no comments on this comment yet.
The composition operator can easily be seen as a function with two arguments, which show "first class" functions:
And poof, you can introduce currying: