News for hackers. Stuff that matters.
Re:Show HN: I built a poker site with Haskell by claudiawerner on Friday August 09, 2019 @04:55PM (#20658195)
I used Haskell on Emacs a few weeks ago and there still seems to be some issues with regards indentation.
Re:Show HN: I built a poker site with Haskell by marcosdumay on Friday August 09, 2019 @06:57PM (#20658888)
Ouch, it has been so long that I have forgot about this. Add this to your emacs init script somewhere:

    (add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
It is also not compatible with older versions of intero and haskell-mode, so if you have old configuration there, you may want to remove it.

Honestly, it's even weird this isn't on by default.

Re:Show HN: I built a poker site with Haskell by tome on Saturday August 17, 2019 @04:03AM (#20722823)
That's strange. I don't have anything like that in my .emacs but I do get indentation automatically for Haskell files. I do have a recent dante-mode though. Perhaps dante-mode turns it on automatically?
Re:Show HN: I built a poker site with Haskell by claudiawerner on Friday August 09, 2019 @07:46PM (#20659146)
Thanks!