4c008577b4
wip make qtys into polynomials
2024-05-27 21:32:48 +02:00
a9e8f14ad5
fix a small bug in Q.Whnf.Coercion
2024-03-21 21:29:01 +01:00
b67162bda1
fix the other similar loops
...
closes #38 , again
2024-02-24 16:04:38 +01:00
f337625801
remove most noLocs
2024-02-10 10:14:22 +01:00
81783dbae0
fix typechecker loop when coercing boxes
...
closes #38
2024-02-10 10:07:06 +01:00
03c197bd04
add local bindings to context
...
- without this, inside the body of `let x = e in …`, the typechecker
would forget that `x = e`
- now bound variables can reduce, if they have a definition, so RedexTest
needs to take the context too
2023-12-07 01:43:39 +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
bb8d2464af
add fst and snd
2023-09-18 21:53:38 +02:00
e6c06a5c81
pass the subject quantity through equality etc
...
in preparation for non-linear η laws
2023-09-18 21:53:38 +02:00
8221d71416
some refactors
2023-09-17 14:41:20 +02:00
d5d30ee198
loosen pushCoe's type slightly
2023-08-28 20:03:06 +02:00
22db2724ce
make coercion computation type-directed like it should be
2023-08-26 21:00:19 +02:00
8264a1bb81
split up whnf module
2023-08-24 18:42:26 +02:00