4 ms·
> I _never_ figured out the indentation rules Weird. Haskell's my preferred language and I thought there was only one indentation rule - if something's furthe
by mrkeen 2y ago
> I _never_ figured out the indentation rules
Weird. Haskell's my preferred language and I thought there was only one indentation rule - if something's further to the right it's part of the same expression, and if something's down it's a new expression.
f
x
y
g z
... With a slight addendum that you don't need to write 'let' on consecutive lines, e.g.
let x = ...
y = ...