3 ms·
Haskell also features a white-space syntax.
by z3phyr 13y ago
Haskell also features a white-space syntax.
- hcarvalhoalves 13y agoIt's optional though, and leaves too much room for ambiguity IMO, which I find annoying since the point of significant white-space is maintaining consistency. These are all equivalent: main = do something main = do something main = do something And obviously, you can also not use `do` notation.