4 ms·
Not much, but you immediately know it's a function (abstraction). Besides, the standard notation for the "arrow function" is maplet (x ↦ x + 1) in mathematics.
by hun3 2y ago
Not much, but you immediately know it's a function (abstraction).
Besides, the standard notation for the "arrow function" is maplet (x ↦ x + 1) in mathematics. I assume λ notation sees frequent uses in logic and computation theory.
- DrDeadCrash 2y agoThe characters in OP's arrow function have the benefit of being available on a standard keyboard layout. This has proven to be an important syntactic feature, imo.
- quibono 2y agoHaskell uses a single backslash \ in place of λ