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

Infer dedent from where token after do block #291

Closed
carymrobbins opened this issue Jul 12, 2016 · 1 comment
Closed

Infer dedent from where token after do block #291

carymrobbins opened this issue Jul 12, 2016 · 1 comment

Comments

@carymrobbins
Copy link

carymrobbins commented Jul 12, 2016

The following is valid Haskell, so it'd be nice for it to be supported by Frege. For now (as a workaround), I'm simply dedenting the where token by one character.

foo :: Monad m => m ()
foo = do
  x <- y
  return x
  where
  y = return ()
@mabre
Copy link

mabre commented Jul 14, 2016

duplicate of #272
The code can be compiled with version 3.24.100.

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

No branches or pull requests

3 participants