Add Foldable class

This commit is contained in:
2026-01-31 16:29:16 -08:00
parent c3e70c9ecc
commit d803af10aa
3 changed files with 21 additions and 8 deletions

View File

@@ -13,7 +13,7 @@
- I can do `let f : ... = \ a b c => ...`. But it doesn't work for recursion and cases are awkward.
- [x] Erasure checking happens at compile time and isn't surfaced to editor..
- [ ] Erasure issue during AoC from case building replacing a non-erased value with erased.
- [ ] Add Foldable?
- [x] Add Foldable
- [ ] Maybe return constraints instead of solving metas during unification
- We already return non-meta constraints for work on the LHS.
- We might get into a situation where solving immediately would have gotten us more progress?