Skip to content
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

Cannot parse comma-separated guards #11

Open
konn opened this issue Oct 4, 2014 · 1 comment
Open

Cannot parse comma-separated guards #11

konn opened this issue Oct 4, 2014 · 1 comment

Comments

@konn
Copy link

konn commented Oct 4, 2014

hi2 cannot parse comma-separated guards.

For example, if I tap TAB at the next line to False | False, True -> print True, hi2 raises parse error:

main :: IO ()
main = case True of
  False | False, True -> print True
@klao
Copy link
Member

klao commented Oct 4, 2014

First of all, thank you for you bug reports and contributions!

Secondly, we are aware that hi2 doesn't support all of the modern Haskell syntax. (There are quite a few extensions it doesn't support.) We have some plans to do a major clean-up and add all of the missing syntax. But unfortunately, we are quite busy nowadays, so it's unlikely that we will get to it soon.

However, you are very welcome to send pull requests for these missing syntaxes! We will try to review and release them quickly. (I'll try to take a look at you pull request #10 today or tomorrow.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants