3 ms·
So Python and COBOL are our only options?
by cafard 13y ago
So Python and COBOL are our only options?
- dragonwriter 13y agoPython doesn't allow misleading indentation in the specific case at issue, but does allow misleading indentation (e.g., inside list comprehensions split over multiple lines).
- z3phyr 13y agoHaskell 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.