4 ms·
It's quite common in Haskell to give 1-letter names to variables that are short lived. Also, Haskell programmers use 1-letter variable names in functions that
by cpa 14y ago
It's quite common in Haskell to give 1-letter names to variables that are short lived.
Also, Haskell programmers use 1-letter variable names in functions that could/should be made point free [1] but aren't for some reason [2].
[1] \c -> c + 1 is not point free whereas (+1) is. An expression is point free if it doesn't have any bound variable.
[2] Because reasoning with flip or const may be confusing in the current context for example.