Kim Morrison
ea221f3283
feat: Nat.(fold|foldRev|any|all)M? take a function which sees the upper bound ( #6139 )
...
This PR modifies the signature of the functions `Nat.fold`,
`Nat.foldRev`, `Nat.any`, `Nat.all`, so that the function is passed the
upper bound. This allows us to change runtime array bounds checks to
compile time checks in many places.
2024-11-22 03:05:51 +00:00
Leonardo de Moura
de269060d1
chore: fix tests
2024-06-19 20:21:34 +02:00
Mario Carneiro
85119ba9d1
chore: move Std.* data structures to Lean.*
2022-09-26 05:46:04 -07:00
Mario Carneiro
ebb5b97d73
chore: move Bootstrap.Data -> Lean.Data
2022-08-31 11:48:57 -07:00
Mario Carneiro
bf89c5a0f5
chore: move Std -> Bootstrap
2022-08-29 01:26:12 -07:00
Leonardo de Moura
db9e390b4d
chore: remove new_frontend from tests
2020-10-25 09:16:38 -07:00
Leonardo de Moura
f80345a6d4
chore: move tests to new frontend
2020-10-10 07:41:04 -07:00
Leonardo de Moura
657879fcaa
chore: fix tests
2020-06-25 11:58:49 -07:00
Leonardo de Moura
9c0bd9dd41
chore: fix tests
2020-05-26 15:05:00 -07:00
Leonardo de Moura
a1aac9a98d
chore: fix tests
2019-12-15 18:34:13 -08:00
Sebastian Ullrich
9482976345
test: speed up some tests for the debug interpreter
2019-12-07 21:51:59 +01:00
Leonardo de Moura
021fda2d80
chore: fix tests
2019-12-04 17:02:56 -08:00
Leonardo de Moura
ed3c95f892
chore: fix tests
2019-10-27 18:29:51 -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
fdab3b90b9
refactor(library/init/data/array): new name convention for Array functions
2019-10-01 16:46:05 -07:00
Sebastian Ullrich
9f88c949f1
chore(tests/compiler): reduce some test sizes for the interpreter
2019-09-12 18:26:15 +02:00
Sebastian Ullrich
3ed67138d5
chore(*): update equation syntax in files and old parser
...
for f in ../../**/*.lean; do echo $f; ./patch.lean.out $f > tmp && cat tmp > $f; done
2019-08-09 11:11:34 +02:00
Leonardo de Moura
b146ed735a
test(tests/compiler/phashmap): add PersistentHashMap test
2019-08-02 13:31:29 -07:00