You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, with normal stack build, the plugin works good
But, when i do a parseModule, typeCheck and load the module with ghc, the generated code looks like this uncons = \case [] -> Nothing a : b -> Just (Data.Record.Anon.Simple.applyPending Data.Record.Anon.Simple.insert #head a Data.Record.Anon.Simple.insert #tail b Data.Record.Anon.Simple.empty)
whereas , it should be this uncons = \case [] -> Nothing a : b -> Just (Data.Record.Anon.Simple.applyPending $ Data.Record.Anon.Simple.insert #head a $ Data.Record.Anon.Simple.insert #tail b Data.Record.Anon.Simple.empty)
The text was updated successfully, but these errors were encountered:
If you need the pretty-printed output to be parseable, then it's quite possible the plugin would need to be modified to insert some HsPar nodes in various places.
Hi, with normal stack build, the plugin works good
But, when i do a parseModule, typeCheck and load the module with ghc, the generated code looks like this
uncons = \case [] -> Nothing a : b -> Just (Data.Record.Anon.Simple.applyPending Data.Record.Anon.Simple.insert #head a Data.Record.Anon.Simple.insert #tail b Data.Record.Anon.Simple.empty)
whereas , it should be this
uncons = \case [] -> Nothing a : b -> Just (Data.Record.Anon.Simple.applyPending $ Data.Record.Anon.Simple.insert #head a $ Data.Record.Anon.Simple.insert #tail b Data.Record.Anon.Simple.empty)
The text was updated successfully, but these errors were encountered: