-
Notifications
You must be signed in to change notification settings - Fork 0
Kind Checker: CLI Integration #32
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
Conversation
edced52
to
67c5bcc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Vlad,
There's still some work that needs to be done here, I see several issues:
- Too much of your internal concepts are exposed in the API, unificatino/substition is not something the Compiler API should talk about,
- Kind checking machinery is not tracking proper SourceInfo and you're inventing helper messages for the API,
- The errors you decided to expose are too granular and tied to your implementation rather than to what the API is about.
I reckon you try and explain to me what these errors mean I can help translate them into API concepts.
lambda-buffers-compiler/src/LambdaBuffers/Compiler/ProtoCompat/Types.hs
Outdated
Show resolved
Hide resolved
lambda-buffers-compiler/app/LambdaBuffers/Compiler/Cli/Compile.hs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff
lambda-buffers-compiler/src/LambdaBuffers/Compiler/KindCheck/Context.hs
Outdated
Show resolved
Hide resolved
lambda-buffers-compiler/src/LambdaBuffers/Compiler/KindCheck/Variable.hs
Outdated
Show resolved
Hide resolved
lambda-buffers-compiler/src/LambdaBuffers/Compiler/KindCheck/Variable.hs
Outdated
Show resolved
Hide resolved
lambda-buffers-compiler/src/LambdaBuffers/Compiler/ProtoCompat/Types.hs
Outdated
Show resolved
Hide resolved
Co-authored-by: Dražen Popović <bladyjoker@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.