Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Leonardo de Moura addbb8dd67 fix: redirect
@cipher1024 I modified your fix. It would produce memory leaks if the
code executed by #eval modifies the stdout.
Here is the problem.
- Your replaces the handler with some new handler `H` and stores the
  old handler `O` in a `flet`.
- Code is executed and replaces the stdout handler with `H'`. The `H`s RC is
  decremented and `H'`s RC is incremeneted. So far, so good.
- Now, the destructor of your `flet` is executed, and it replaces `H'`
  with `O`, but `H'` RC is not decremented.
2020-01-23 15:58:34 -08:00
.github
bin
doc fix: dead link in doc 2020-01-02 14:36:14 +01:00
images
lean4-mode
nix
script
src fix: redirect 2020-01-23 15:58:34 -08:00
stage0 chore: update stage0 2020-01-23 15:01:09 -08:00
tests feat: remove addMacroScope approximation 2020-01-23 14:59:31 -08:00
tmp
.clang-format
.codecov.yml
.gitattributes
.gitignore
default.nix
LICENSE
README.md
shell.nix

We are currently developing Lean 4. Lean 3 is still the latest official release. This repository contains work in progress.

Important. Unless you are one of our collaborators

  • We strongly suggest you use Lean 3.
  • Pull requests are not welcome.
  • New issues are not welcome, and will be closed without any feedback.