Commit graph

18 commits

Author SHA1 Message Date
3e23929b5f export infix 2024-05-27 21:29:37 +02:00
f337625801 remove most noLocs 2024-02-10 10:14:22 +01:00
cf3ed604a4 move Quox.Syntax.Var to just Quox.Var 2023-09-20 21:56:59 +02:00
fa14ce1a02 add FreeVars, and split only on used dvars in Equal 2023-09-12 09:56:49 +02:00
612fb33663 bump again 2023-07-13 21:28:39 +02:00
7b93a913c7 rewrite pretty printer 2023-05-15 17:13:14 +02:00
d5f4a012c5 add source locations to inner syntax 2023-05-02 03:06:25 +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
3fb8580f85 re-add tightening and use it when messing with scopes
e.g. "coe [_ ⇒ A] @p @q s" should immediately reduce to "s",
but if the "_ ⇒ A" happened to use an SY it didn't.

this will still happen if a wrong SY sneaks in but the alternative is
re-traversing the term over and over every time whnf runs
2023-04-17 20:56:31 +02:00
84e1cc78cc use a SnocVect for subN 2023-03-26 16:09:47 +02:00
54ba4e237f use snoclists in pretty printing
i think the names were in the wrong sometimes!!!
2023-03-15 15:53:39 +01:00
86d21caf24 put names into contexts, and contexts into errors 2023-03-14 16:04:41 +01:00
0a2d05818e fix fixities 2023-03-02 19:56:16 +01:00
1a7efc104e Replace subst overloading with interfaces too (mostly) 2023-02-20 22:22:49 +01:00
4b36d8b7c8 pair stuff 2023-01-26 19:55:08 +01:00
f0f49d9abf ScopeTerms that can bind multiple vars 2023-01-23 03:22:50 +01:00
77e94a3033 oops Shift.drop1 and ssDown were the same 2022-08-18 20:39:19 +02:00
804f1e3638 remove src directories 2022-05-06 22:01:44 +02:00
Renamed from lib/src/Quox/Syntax/Subst.idr (Browse further)