This commit is contained in:
2024-08-22 14:11:43 -07:00
parent f6e47c8d22
commit dfa6b835b0
3 changed files with 14 additions and 14 deletions

View File

@@ -1,5 +1,7 @@
Need eval for case.
- Support primitives
- Make DCon/TCon separate from Ref? (Or add flavor to VRef/Ref? If processing is often the same. I think I want arity though. I don't think a checked DCon can be overapplied, but it could be underapplied without special form. And special form is possibly difficult if not collecting a stack on the way down...
Need to typecheck case - learning stuff like `n = S k` is not happening and the final bit of the data constructor doesn't unify with the data type, because we're not handling `Bnd n =?= Val`. Cockx collects a list of constraints. We might want flags on unification to enable that?