4 ms·
I write Lisp but I have no idea what /x means in the example above for instance.
by ThinkBeat 7y ago
I write Lisp but I have no idea what /x means in the example above for instance.
- dzsekijo 7y agoThe "\" (which is "\" rather than "/", as already pointed out) is just an ascii approximation of λ (just like "u" is used to approximate μ).
- kian 7y agoIt means a 1-argument lambda, where that one argument is named x
- Jare 7y agoThat's a syntax knowledge problem, not a readability problem. \x -> introduces a lambda function with a parameter x, like (x) => in javascript etc.