2d75b92d6d
telescope stuff
2024-05-27 21:29:37 +02:00
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
3e23929b5f
export infix
2024-05-27 21:29:37 +02:00
ee22486e97
rename BindName.name to .val
2023-09-20 21:58:27 +02:00
fa14ce1a02
add FreeVars, and split only on used dvars in Equal
2023-09-12 09:56:49 +02:00
9973f8d07b
refactor elim equality error stuff
2023-09-12 06:48:51 +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
a5ccf0215a
coercions and compositions
2023-04-15 15:13:01 +02:00
773f6372ea
quantities in case don't need to be *exactly* the same
...
...as long as they are all compatible with the target.
for example, given ω.n : ℕ:
```
case double_it? return ℕ of {
'true ⇒ plus n n;
'false ⇒ n
}
```
2023-03-27 00:01:32 +02:00
46e13c8ca2
don't print empty contexts in errors
2023-03-26 16:11:11 +02:00
6dc7177be5
use NContext/SnocVect for scope name lists etc
2023-03-16 18:18:49 +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
8e9b0abb34
Show Telescope
2023-03-13 18:25:07 +01:00
c81aabcc14
more parser/FromParser stuff
...
- top level semicolons optional
- type optional [the def will need to be an elim]
- `load` statement
- namespaces
2023-03-12 18:28:37 +01:00
426c138c2b
clean up some old unused stuff
2023-03-08 22:33:52 +01:00
ab2508e0ce
add fromPTerm, etc
2023-03-05 16:50:05 +01:00
0a2d05818e
fix fixities
2023-03-02 19:56:16 +01:00
8de5803cba
add Context.unzip
2023-02-11 18:13:44 +01:00
4b36d8b7c8
pair stuff
2023-01-26 19:55:08 +01:00
44778825c2
add Definitions module
2022-08-22 10:29:58 +02: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