haskell / haskell/haskell-mode
haskell-indentation mode can't parse -XDoAndIfThenElse syntax
Open
indentation
- Dominant language
- Emacs Lisp
- Stars
- 1.4k
- Forks
- 354
- Avg merge
- 5d 10h
- Merged PRs (30d)
- 2
Description
As title. The following code compiles and works fine but produces parse errors after the "else":
``` haskell
{-# LANGUAGE DoAndIfThenElse #-}
main :: IO ()
main = do
if True then
return ()
else
return ()
```
Contributor guide
Assessment
This issue has not been assessed yet.