Sebastian Ullrich
44d5eddf16
chore: remove support for relative imports
2019-11-20 16:39:53 +01:00
Sebastian Ullrich
ab42cffad2
refactor: rename all Default.lean files except for Init/Default.lean
2019-11-19 13:52:21 +01:00
Leonardo de Moura
b09fb4348d
chore: rename Name constructors
2019-11-18 19:54:05 -08:00
Leonardo de Moura
a3ccbe66cf
refactor: Expr fully implemented in Lean
...
No hidden fields.
2019-11-16 12:10:49 -08:00
Leonardo de Moura
c341486e28
refactor: avoid Expr constructors
...
Using `mk*` functions instead.
Reason: preparing to remove `src/kernel/expr.cpp` hack.
2019-11-14 16:32:45 -08:00
Leonardo de Moura
c768a24735
chore: mkApp => mkAppN
...
We are goint to use `mkApp` for creating unary applications
2019-11-14 15:44:17 -08:00
Leonardo de Moura
c3e9ac73e2
refactor: default ==> arbitrary
...
Make sure it is opaque, and avoid `irreducible`
2019-11-05 14:42:42 -08:00
Leonardo de Moura
34765c97d7
chore: rename mmap, mfoldl, mfor ...
...
We now use `mapM`, `foldlM`, ... like Haskell.
Motivation: fixes the inconsistent naming convetion. We are already
using the `M` suffix for functions such as `anyM`. We used `anyM`
because `many` is a valid English word.
cc @kha @dselsam
2019-10-27 18:19:34 -07:00
Leonardo de Moura
17a3c51c54
feat: structured messages
...
Current "plan":
structure messages => tracing infrastructure => unifier => elaborator
cc @kha @dselsam
2019-10-22 08:43:32 -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
Leonardo de Moura
d1ca45d83a
chore: use #[] instead of Array.empty
2019-10-08 16:23:06 -07:00
Leonardo de Moura
bfe4f5e7d3
chore: style
2019-10-08 15:21:42 -07:00
Leonardo de Moura
5f035af4f5
feat: add array literal notation to new parser
2019-10-07 15:46:45 -07:00
Leonardo de Moura
d345ec9774
feat: enforce one file per import in the new parser
2019-10-07 15:44:26 -07:00
Leonardo de Moura
0bc41efc7a
chore: use new array notation #[...]
2019-10-07 15:41:34 -07:00
Leonardo de Moura
0714716477
fix: file and import names, tests and stage0
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2019-10-04 17:04:02 -07:00
Leonardo de Moura
a2abbdbf9a
chore: fix imports using script
...
This is just a draft.
```
for f in `find . -name '*.lean'`; do echo $f; gsed "/^import/s/\b\(.\)/\u\1/g" $f > tmp; gsed "/^Import/s/Import/import/g" tmp > $f; done
```
2019-10-04 14:34:58 -07:00
Leonardo de Moura
de4d3152f1
chore: use CamelCase to name files and directories
2019-10-04 14:23:08 -07:00