7b93a913c7
rewrite pretty printer
2023-05-15 17:13:14 +02:00
30fa93ab4e
refactor core syntax slightly to derive Eq/Show
...
add a new `WithSubst tm env to` record that packages a `tm from`
with a `Subst env from to`, and write instances for just that. the
rest of the AST can be derived
2023-04-27 21:37:20 +02:00
a5ccf0215a
coercions and compositions
2023-04-15 15:13:01 +02:00
ba2818a865
remove IsQty interface
2023-04-01 19:16:43 +02:00
5a994ac0e2
derive Eq,Ord,Show for DimEq
2023-03-25 20:51:10 +01:00
8f0f0c1891
"1.(x: A) → B" instead of "(1.x: A) → B"
...
also "1.A → B"
2023-03-18 23:27:27 +01:00
32f38238ef
pretty printing errors
2023-03-15 15:54:51 +01:00
86d21caf24
put names into contexts, and contexts into errors
2023-03-14 16:04:41 +01:00
ecd3be8bda
"WhnfErr" ⇒ "WhnfError"
2023-03-13 19:39:29 +01:00
765c62866a
more FromParser
2023-03-13 19:33:09 +01:00
507eb79788
consistent indexing
2023-03-13 19:31:52 +01:00
b7acf39c39
remove universe type
2023-03-05 16:48:29 +01:00
02b94ab705
split check and checkType. UAny is kill
2023-03-05 13:14:25 +01:00
efca9a7138
add enums, which also need whnf to be fallible :(
2023-02-22 07:45:10 +01:00
7895fa37e5
Q.S.T.Reduce ⇒ Q.Reduce and make it use Definition directly
2023-02-19 18:54:59 +01:00
85a55f8123
wrap type errors in extra context
2023-02-19 17:54:39 +01:00
7d2c3b5a8e
more typed equality, uip, etc
2023-02-11 18:15:50 +01:00