Commit graph

4700 commits

Author SHA1 Message Date
Leonardo de Moura
5d9f3f6fba chore: add ambiguity comment 2019-11-08 08:28:31 -08:00
Daniel Selsam
19ec5cda13 doc: typeclass loop issue and suggestions 2019-11-08 08:28:26 -08:00
Sebastian Ullrich
68a126be3f chore: update benchmark packages 2019-11-07 17:47:58 +01:00
Daniel Selsam
3b6755dea1 doc: namespace A.B vs namespace A namespace B 2019-11-06 10:16:33 -08:00
Daniel Selsam
7cddeaa0d3 doc: tc triggers nested tc, potentially with tmp metavar leak 2019-11-06 10:15:05 -08:00
Leonardo de Moura
41e574d6cc chore: fix tests 2019-11-05 14:44:05 -08:00
Leonardo de Moura
f8c5face56 chore: update 2019-11-02 12:12:27 -07:00
Leonardo de Moura
638ceebab4 feat: helper functions 2019-11-01 17:07:26 -07:00
Daniel Selsam
5d4be4fd3c doc: elabissue for simple namespace issue 2019-10-31 21:08:12 -07:00
Leonardo de Moura
ec71dd256f chore: fix test 2019-10-31 21:01:31 -07:00
Leonardo de Moura
1933d70aae doc: explain why elaborator fails and propose alternative elaboration strategies
cc @dselsam @kha @rwbarton
2019-10-31 08:50:01 -07:00
Daniel Selsam
6cb4442349 doc: elabissue for overloads + list coercion 2019-10-31 08:04:00 -07:00
Leonardo de Moura
2f4a1f1239 test: universe level normalization function 2019-10-30 13:19:58 -07:00
Leonardo de Moura
57cdda5821 chore: trying fix 2019-10-29 13:37:38 -07:00
Sebastian Ullrich
5ce9ca81da chore: revert "test: capture stderr as well"
This reverts commit 2866824b51.
2019-10-29 19:55:48 +01:00
Leonardo de Moura
453b6f94c3 test: add synthetic metavar test 2019-10-28 19:59:51 -07:00
Leonardo de Moura
05f0c83253 test: add new test for MetavarContext.mkLambda 2019-10-28 19:49:29 -07:00
Sebastian Ullrich
b6d96dc0f4 doc: elabissue for underapplied proj notation 2019-10-28 18:07:22 -07:00
Leonardo de Moura
a768aa0d1c doc: add comment describing why examples fail
cc @dselsam
2019-10-28 18:06:07 -07:00
Daniel Selsam
90455e201f doc: elabissue for weird elab error 2019-10-28 17:59:48 -07:00
Daniel Selsam
20caac5cdf doc: elabissue for variable universe bug 2019-10-28 17:59:23 -07:00
Leonardo de Moura
ed3c95f892 chore: fix tests 2019-10-27 18:29:51 -07:00
Leonardo de Moura
9c5208c81b test: add new tests 2019-10-26 11:32:33 -07:00
Leonardo de Moura
4559bdef7d test: add instantiateMVars tests 2019-10-26 11:16:07 -07:00
Leonardo de Moura
f46db3cc01 feat: add Expr helper functions 2019-10-25 16:47:07 -07:00
Leonardo de Moura
d1c9a440d8 feat: add missing Expr.update* functions 2019-10-24 15:10:03 -07:00
Leonardo de Moura
ccfa57d657 chore: rename constructors
Before we start writing a lot of Expr code.

- `Expr.pi` does not make sense anymore.
- `Expr.elet` is weird. `«let»` is too inconvenient to write. So, I
   used `letE` short for `letExpr`. GHC avoids this issue because
   keywords are lowercase and constructors are capitalized.
2019-10-24 13:53:33 -07:00
Leonardo de Moura
0032c02247 feat: expose Expr.equal (structural equality) and adding Expr mappings aliases 2019-10-23 10:49:51 -07:00
Leonardo de Moura
c330600197 chore: add example to demonstrate that messages are computed lazily 2019-10-22 17:12:42 -07:00
Leonardo de Moura
d51c291f2a refactor: simplify traceCtx 2019-10-22 16:36:18 -07:00
Leonardo de Moura
6498055656 chore: helper instances 2019-10-22 16:18:28 -07:00
Leonardo de Moura
f88561ae68 feat: add trace! macro 2019-10-22 16:08:37 -07:00
Leonardo de Moura
45e21168d2 feat: hierarchical trace kinds 2019-10-22 15:13:57 -07:00
Leonardo de Moura
0a0bc0b7b9 fix: remove unused parameter and add missing disableTracing 2019-10-22 15:04:44 -07:00
Leonardo de Moura
16099189f2 chore: minor adjustments 2019-10-22 14:57:26 -07:00
Leonardo de Moura
13faf9fdf6 feat: add trace prefix to options 2019-10-22 14:43:02 -07:00
Leonardo de Moura
3cd8dc6366 fix: minor issues and add MonadTracer test 2019-10-22 14:33:07 -07:00
Leonardo de Moura
1418f12248 fix: reject [class] at declarations that are not inductive datatypes or structures
closes #42
2019-10-21 22:52:13 -07:00
Daniel Selsam
d8a3dfb63d doc: elabissue for bind with existential types 2019-10-21 22:28:14 -07:00
Daniel Selsam
5ce34b0b3c doc: elabissues from reid visit 2019-10-21 22:27:58 -07:00
Leonardo de Moura
870db93c8e feat: add EState.Backtrackable class
@dselsam @kha: The new class allows us to use `EState` even when part of
the state must be backtrackable. The default instance ensures that
there is no backtrackable state. The new test shows how to use it.
2019-10-21 18:39:59 -07:00
Leonardo de Moura
a8d3803089 chore: remove weird idiom 2019-10-21 17:41:23 -07:00
Leonardo de Moura
9baf91e641 feat: add Level.isEquiv 2019-10-21 10:56:59 -07:00
Leonardo de Moura
d18305297d feat: add Expr.getAppRevArgs 2019-10-21 10:49:01 -07:00
Leonardo de Moura
447482e489 refactor: use Array instead of List at mkApp and getAppArgs
Preparation for new unifier.

@dselsam: I had to make minor changes at `Synth.Lean`, and add messy
code to `Context.lean`. `Context.lean` will be deleted in the future.
So, it is not a big deal.
2019-10-21 09:12:36 -07:00
Daniel Selsam
8b7975fab8 test: add (perf) test for typeclass append 2019-10-19 18:07:37 -07:00
Leonardo de Moura
1f8370c67d test: issue reported by Reid 2019-10-19 13:26:47 -07:00
Sebastian Ullrich
9160949df3 test: fix test 2019-10-18 13:47:23 +02:00
Sebastian Ullrich
9b55687597 fix: show #eval errors 2019-10-18 13:10:13 +02:00
Leonardo de Moura
104b4a1ce2 test: document another elab issue 2019-10-15 09:41:07 -07:00