-
Notifications
You must be signed in to change notification settings - Fork 0
KC: Integrate Common Validated Proto Types #26
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
3126f50
to
eca2810
Compare
eca2810
to
a51fe83
Compare
a51fe83
to
9a02484
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.
Good stuff, please take a look at and integrate KC into the CLI
case fromProto @CompilerInput @ProtoCompat.CompilerInput compIn of |
data KindCheckFailure | ||
= CheckFailure String |
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.
Let's expose that in the API. Try to think of what errors make sense to expose there and in what granularity.
-- X To Canonical type conversion functions. | ||
|
||
-- | TyDef to Kind Canonical representation. |
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.
When you have the cycles, having something like https://github.com/mlabs-haskell/lambda-buffers/blob/5d74a0cc1bc1046494b244440d33c52cf4fefa50/lambda-buffers-compiler/src/LambdaBuffers/Compiler/Canonical.hs would be good
Map
instead of lists,Text
etc.