6 ms·
In fact, Haskell style frowns on using too many lambdas. It's generally felt that adding named functions is better for debugging and readability, the same as in
by thurn 15y ago
In fact, Haskell style frowns on using too many lambdas. It's generally felt that adding named functions is better for debugging and readability, the same as in python. So with the bracket function, for example, it's still considered better practice to pass named functions to it.
- masklinn 15y ago> In fact, Haskell style frowns on using too many lambdas. It's generally felt that adding named functions is better for debugging and readability, the same as in python That's really besides my point. And last time I checked, Haskell's `if` and `case` expressions did not take functions, they took anonymous expressions. > So with the bracket function, for example, it's still considered better practice to pass named functions to it. To pass a named function as third argument to bracket?