Skip to content


haskell-indentation.el fails to indent properly after "rec" #110

lightquake opened this Issue · 1 comment

1 participant


As the title says. When I have code like

springy = proc target -> do
    rec current <- integral_ 400 -< velocity
        velocity <- integral_ 0 -< -(100 * (current - target) - 16 * velocity)

the suggested indentations are the leftmost, immediately after the <-, and aligned with the rec (when it should be aligned with current).

@lightquake lightquake added a commit to lightquake/haskell-mode that referenced this issue
@lightquake lightquake Properly indent 'rec' keyword, same as 'mdo'. Fixes #110. aeb0d33

Argh. Sorry I duplicated this, didn't realize how pull requests work. :( Closing this because it's superseded by #111 .

@lightquake lightquake closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.