lean4-htt/library/init
Leonardo de Moura ff3bf508aa feat(library/init/fix, runtime): add fixpoint2, ..., fixpoint6
The idea is to avoid allocating tuples when creating the fixpoint of
nary functions. For example, consider the new tests:
- tests/playground/fix.lean
- tests/playground/fix_with_tuples.lean

The second one (`fix_with_tuples`) uses the `fix` operator and tuples. For input = 20,
it creates more than 1 million extra objects. The first implementation
(`fix.lean`) using `fix₂` avoids this overhead.

TODO: Add support for pattern #N with N > 9 at
```
def expand_extern_pattern_aux (args : list string) : nat → string.iterator → string → string
```
2019-03-10 11:19:02 -07:00
..
control chore(library/init): remove coroutines from stdlib 2019-03-08 15:34:17 +01:00
data feat(runtime): add efficient fixpoint implementation 2019-03-10 10:09:57 -07:00
lean chore(library/init/lean/frontend): revert 4333ab620 2019-03-08 12:06:49 -08:00
coe.lean fix(library/init): missing @[inline] 2018-09-18 21:42:22 -07:00
core.lean feat(library/init): unicode notation for heq: ≅ 2019-03-07 10:21:14 -08:00
default.lean feat(runtime): add efficient fixpoint implementation 2019-03-10 10:09:57 -07:00
env_ext.lean chore(library/init/env_ext): update 2018-09-11 13:55:25 -07:00
fix.lean feat(library/init/fix, runtime): add fixpoint2, ..., fixpoint6 2019-03-10 11:19:02 -07:00
function.lean fix(library/init/function): missing @[inline] 2018-09-20 08:39:25 -07:00
init.md chore(*.md): fix/remove broken links 2016-02-23 10:11:24 -08:00
io.lean chore(library/init): remove coroutines from stdlib 2019-03-08 15:34:17 +01:00
platform.lean feat(library/vm): add support for system.platform.nbits in the VM 2018-05-03 15:54:54 -07:00
util.lean feat(runtime,library/init/util): add some debugging helper function 2019-02-17 09:22:37 -08:00
wf.lean feat(library/init): unicode notation for heq: ≅ 2019-03-07 10:21:14 -08:00