3 ms·
Is Haskell context-free if you don't use the indentation layout mode? Haskell does support using braces and semicolons too. However, this is not true of Python
by zzo38computer 7y ago
Is Haskell context-free if you don't use the indentation layout mode? Haskell does support using braces and semicolons too. However, this is not true of Python (as far as I know).
- massysett 7y agoIn theory Haskell supports braces and semicolons but in practice nobody uses them, leading to bugs like this one: https://github.com/haskell/haddock/issues/12 https://github.com/haskell/haddock/issues/12
- zzo38computer 7y agoI do use braces and semicolons when programming in Haskell, and I have encountered that bug before, and I hope that they will fix it (although it still seems to be unfixed after six years, but a few people clearly do care, even if others don't care).