Comment
Comment by loup-vaillant
Imagine Haskell lacked an "if then else" expression. Then:
Usage (those 2 lines are equivalent):
That's the basis of what we call combinator libraries. Application syntax and infix operators, used wisely, actually feel like ad-hoc syntax. Combined with lazy evaluation, they makes fully fledged macro much, much less useful.