-
Notifications
You must be signed in to change notification settings - Fork 347
Debugger triggered on "match c of", a typo for "case c of" #599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Is this for indentation? Or when you load it into ghci? |
Indentation, no GHCi used. |
Which indentation mode are you using? Can you provide the complete error for it? |
Here is my .emacs configuration: https://github.com/mcandre/dotfiles/blob/master/.emacs |
I load haskell-mode via use-package, install haskell-mode via Emacs Cask, source haskell-mode from MELPA, and I'm using the latest version, 20150423.710. |
Yeah, so it is to do with the new version of haskell-indentation (and thus I can't really help you with it :p) |
So haskell-mode maintains haskell-indentation, right? Could we fix the bug in haskell-indentation? |
@mcandre: Since you are the kind of person that has Also note that MELPA comes in two variants, melpa and melpa-stable. The second one is supposed to be less bleeding edge than the first one. Instructions for both are in our https://github.com/haskell/haskell-mode/blob/master/README.md file. |
hm, this is the same bug as in #483 I have a fix in my own haskell-indentation.el, but it is quite |
Which repo?
I see nothing here: https://github.com/kuribas/haskell-mode
And nothing here: https://github.com/kuribas/hi2
@kuribas, I tried to send you an email but no result. Which inbox do you
respond to?
|
In my local repo, sorry... You can send mail to my resonata inbox. |
@kuribas A fix you say? Please merge :) I'm actually new to Emacs Lisp; The only reason I turned on debug-on-error is to produce better bug reports, lol! |
Haha, well, we need to built some mechanism for bug reporting tailored for haskell-mode. debug-on-error sure isn't one of those :) |
Thinking about this more I come to reason that haskell indentation should have a much more permissive parser. It should care only about |
This is no longer bailing out with parse error. |
As a Haskell newbie, I want haskell-mode to behave more gracefully when I make a typo, like
match c of
instead ofcase c of
. Currently, the debugger triggers on such parse errors.The text was updated successfully, but these errors were encountered: