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

floskell crashes on type applications in rules #43

Open
harendra-kumar opened this issue May 10, 2020 · 0 comments
Open

floskell crashes on type applications in rules #43

harendra-kumar opened this issue May 10, 2020 · 0 comments

Comments

@harendra-kumar
Copy link

Not sure what's the fate of floskell with haskell-src-exts being unmaintained, still raising this issue.

It cannot parse this:

{-# RULES "zipWithM xs xs"
    forall f xs. zipWithM @Identity f xs xs = mapM (\x -> f x x) xs #-}

Fails with this error:

floskell: src/Streamly/Internal/Data/Stream/StreamD.hs:4059:69: Parse error in expression: zipWithM@Identity
CallStack (from HasCallStack):
  error, called at src/main/Main.hs:161:12 in main:Main
@harendra-kumar harendra-kumar changed the title flsokell crashes on type applications in rules floskell crashes on type applications in rules May 10, 2020
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

2 participants