|
|
|
|
|
by cartoffal
428 days ago
|
|
> The $ operator is nothing but syntactic sugar that allows you to write bar $ foo data instead of having to write bar (foo data). That’s it. Actually, it's even simpler than that: the $ operator is nothing but a function that applies its left argument to its right one! The full definition is f $ x = f x
(plus a directive that sets its precedence and association) |
|