-
Notifications
You must be signed in to change notification settings - Fork 3
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
Type universe and (possibly) universal subtyping #7
Comments
Is there any plans about GADT introduction? |
You can also use something like
to decouple the compound syntax of |
Not for minitt-rs, but probably for OwO (and it's gonna be hard to be compatible with first-class sums) |
As you can see here, the sum type is already first-class. I'm trying to build a subtyping rule from it and there's already something working, like const bool = Sum { True | False };
let a : Sum { True } = True;
let test: bool = a; |
Oh damn that looks crazy... but all you're doing are exceeding Mini-TT itself right now. I think it is better to have an a-step-further/intermediate ML-like language to experiment with more features, and leave this Mini-TT untouched and compatible with its original paper? |
Version 0.1.8 is a vanilla Mini-TT you'd expect. I'm doing experiments in future versions. |
Let's tag it yooo. |
…l0`, and because it fallbacks to `check(..., Type(0))` which causes problem. I need to implement a more formal universe checker
…l0`, and because it fallbacks to `check(..., Type(0))` which causes problem. I need to implement a more formal universe checker
It's mentioned in the tut. Click https://docs.rs/minitt/0.2.4/minitt/#syntax-trees, scroll to the previous line. |
…l0`, and because it fallbacks to `check(..., Type(0))` which causes problem. I need to implement a more formal universe checker
I'd say it's implemented, closing in favor of #20 |
No description provided.
The text was updated successfully, but these errors were encountered: