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

Type signatures in do bindings classed as top level definitions, removing (<-) highlighting #28

Closed
tomsmalley opened this issue Jun 25, 2017 · 1 comment

Comments

@tomsmalley
Copy link

screen shot 2017-06-25 at 15 55 27

This behaviour is not observed when the part to the left of (<-) is wrapped in parenthesis.

@JustusAdam
Copy link
Owner

Should be easy to fix. Look for the section where type signatures are defined (search for the :: in the grammar). And there is a bunch of patterns defined for when it should stop (such as } and )) just add <- and that'll probably do it.

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