3 ms·
The following line defines a function (the syntax is known as an 'operator section'): (_ + 1) Equivalent to this JS function: x => x + 1 Operator Sectio
by TexInWien 6y ago
The following line defines a function (the syntax is known as an 'operator section'):
(_ + 1)
Equivalent to this JS function:
x => x + 1
Operator Sections: https://github.com/purescript/documentation/blob/master/language/Differences-from-Haskell.md#operator-sections https://github.com/purescript/documentation/blob/master/lang...
- rkangel 6y agoI think the parent's point is that it only includes increment and not decrement.