mlabs-haskell / lambda-buffers

LambdaBuffers toolkit for sharing types and their semantics between different languages
https://mlabs-haskell.github.io/lambda-buffers/
Apache License 2.0
29 stars 0 forks source link

Strange Parses #116

Closed jaredponn closed 10 months ago

jaredponn commented 10 months ago

There are some strange things that parse / don't parse for the front end.

For example,


module TEST
sum A = A

and

-- Module documentatoin
module TEST
sum A = A

do not parse.

Also,

module TEST

sum A = A
class MyClass a

deriveMyClass A

parses deriveMyClass as derive and MyClass.

There's other instances of this as well.

This issue proposes to fix these!