A Lean 4 Metaprogramming Book
Authors: Arthur Paulino, Damiano Testa, Edward Ayers, Henrik Böving, Jannis Limperg, Siddhartha Gadgil, Siddharth Bhat
A PDF is available here for download (and is rebuilt on each change).
- Main
- Extra
Sources to extract material from:
Collaborating
The markdown files are generated automatically via lean2md. Thus, if you're going to write or fix content for the book, please do so in the original Lean files inside the lean directory.
Important: since lean2md
is so simple, please avoid using comment sections
in Lean code blocks with /- ... -/
. If you want to insert commentaries, do so
with double dashes --
.
This is not required, but if you want to build the markdown files, you can do so
by running lake script run build
. It requires having Python installed, as well
as the lean2md
package.