You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running haskell-mode version 20151003.0 with Emacs 24.5 on OSX, and I'm new to Haskell (so please bear with me as this might well be a non-issue, caused by my ignorance). I noticed a weird behavior with nested do blocks inside an if expression, which this simple function demonstrates:
test::Bool->IO()
test b =doif b thendoputStr"hello "putStrLn"world"elsedo-- Starting from this line I get an "Expecting else" message in-- tbe minibuffer when I try to insert a newline by pressing-- <enter> (except inside the comments)putStr"bye "putStrLn"world"
The text was updated successfully, but these errors were encountered:
This is a known extension to Haskell language that needs to be implemented in haskell-indentation. Thanks for reporting this, we have already #884 so it is tracked.
I'm running
haskell-mode
version20151003.0
with Emacs 24.5 on OSX, and I'm new to Haskell (so please bear with me as this might well be a non-issue, caused by my ignorance). I noticed a weird behavior with nesteddo
blocks inside anif
expression, which this simple function demonstrates:The text was updated successfully, but these errors were encountered: