Commit graph

11 commits

Author SHA1 Message Date
722c05225d replace Context.tabulate with tabulateVar
- takes a function `Var n -> a`
- results are no longer backwards lmao
2024-05-27 21:29:37 +02:00
f337625801 remove most noLocs 2024-02-10 10:14:22 +01:00
b1699ce022 add let to the core 2023-12-04 22:47:52 +01:00
0514fff481 represent ℕ constants directly
instead of as huge `succ (succ (succ ⋯))` terms
2023-11-03 18:05:54 +01:00
fa7f82ae5a rename Nat to NAT in AST 2023-11-03 18:05:54 +01:00
e0ed37720f always vsep scheme lets, otherwise they are unreadable 2023-11-03 18:05:54 +01:00
0c1df54d62 improve handling of context lengths 2023-11-03 18:05:54 +01:00
dc076b636d fix warnings 2023-09-19 18:13:45 +02:00
bb8d2464af add fst and snd 2023-09-18 21:53:38 +02:00
7b53d56072 a few basic fv tests to make sure it's not reversed or whatever 2023-09-16 13:34:11 +02:00
fa14ce1a02 add FreeVars, and split only on used dvars in Equal 2023-09-12 09:56:49 +02:00