Commit graph

15 commits

Author SHA1 Message Date
15f6f4c8a4 fix nat elim quantities 2023-04-01 16:01:53 +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
8f0f0c1891 "1.(x: A) → B" instead of "(1.x: A) → B"
also "1.A → B"
2023-03-18 23:27:27 +01:00
f2272da4b4 replace '≔' and '·' with '=' and (only) '.' 2023-03-18 02:43:58 +01:00
f5fa63a6df some pretty printing tests 2023-03-16 18:19:17 +01:00
765c62866a more FromParser 2023-03-13 19:33:09 +01:00
810de09f61 zeroIsSubj/zeroIsGlobal work on all zeroes 2023-02-19 17:42:11 +01:00
e375d008e5 comments etc 2023-02-19 17:04:57 +01:00
fe8c224299 write quantities before names in binders again
also fixup comments in typechecker
2023-02-13 22:05:27 +01:00
4b36d8b7c8 pair stuff 2023-01-26 19:55:08 +01:00
82795e9976 remove IsOne stuff; add timesSubj 2023-01-09 23:43:55 +01:00
28055c0f39 add Decidable-related stuff 2023-01-09 23:43:23 +01:00
c45a963ba0 parameterise over qty semiring 2023-01-08 20:44:25 +01:00
6dd18d89bd Uninhabited instances 2022-08-22 10:07:46 +02:00
804f1e3638 remove src directories 2022-05-06 22:01:44 +02:00
Renamed from lib/src/Quox/Syntax/Qty.idr (Browse further)