Commit graph

613 commits

Author SHA1 Message Date
Leonardo de Moura
6da9119516 doc: add Parametric Higher-Order Abstract Syntax example 2022-03-25 14:42:24 -07:00
Sebastian Ullrich
ca9678be58 doc: move tier list to setup.md 2022-03-25 17:45:15 +01:00
Leonardo de Moura
3c9556ec18 doc: finish deBruijn.lean example 2022-03-24 16:17:53 -07:00
Leonardo de Moura
52a52fbed7 chore: add doc/examples to the test suite 2022-03-24 15:20:18 -07:00
Arthur Paulino
53faa9c8ca doc: restriction of partial functions 2022-03-24 15:01:50 -07:00
E.W.Ayers
90baf14e82 doc: add lib and style changes to lean3changes.md 2022-03-24 15:00:36 -07:00
Leonardo de Moura
170b911a6f doc: expand deBruijn 2022-03-22 19:35:58 -07:00
Leonardo de Moura
20fb3e470d doc: add dependent de Bruijn indices
TODO: explain example.
2022-03-22 19:11:06 -07:00
Leonardo de Moura
b2a1b88a4e doc: a certified type checker 2022-03-22 19:01:26 -07:00
Leonardo de Moura
a23fcb6033 chore: use github link until we generate the proper webpage using Alectryon 2022-03-22 18:34:40 -07:00
Leonardo de Moura
028e3561e2 fix: link 2022-03-22 18:07:04 -07:00
Leonardo de Moura
265803f7ac doc: fix links 2022-03-22 16:52:08 -07:00
Leonardo de Moura
e06893d1f2 doc: proper TPIL link 2022-03-22 16:37:16 -07:00
Leonardo de Moura
973b76a6e2 doc: add Examples section 2022-03-22 16:35:14 -07:00
Leonardo de Moura
412bc14fbe doc: add well-typed interpreter as an example 2022-03-22 16:32:41 -07:00
Leonardo de Moura
5ae125262b chore: remove C++ coding style from manual 2022-03-22 15:54:51 -07:00
Leonardo de Moura
2e9adf0e04 chore: remove broken documentation 2022-03-22 15:52:13 -07:00
Chris Lovett
6dc576121d
doc: replace quickstart leanpkg info with info about lake 2022-03-11 16:31:58 -08:00
Leonardo de Moura
272dd5533f chore: style use · instead of . for lambda dot notation
We are considering removing `.` as an alternative for `·` in the
lambda dot notation (e.g., `(·+·)`).
Reasons:
- `.` is not a perfect replacement for `·` (e.g., `(·.insert ·)`)
- `.` is too overloaded: `(f.x)` and `(f .x)` and `(f . x)`. We want to keep the first two.
2022-03-11 07:49:03 -08:00
Sebastian Ullrich
126c7dd4ea chore: Nix: command for (one-time) linking .ileans 2022-03-09 10:29:25 +01:00
Leonardo de Moura
51ec4522fe fix: documentation 2022-03-03 18:18:37 -08:00
Leonardo de Moura
d46d246cd9 fix: documentation 2022-02-15 16:19:35 -08:00
ammkrn
3de18ceb55
doc: document match h:e with syntax 2022-02-14 15:53:37 +01:00
Leonardo de Moura
a2b7ff9e0d chore: fix doc 2022-02-10 17:12:18 -08:00
ammkrn
efb533fb24
doc: document some do block patterns/sugar 2022-02-07 20:50:15 +01:00
Sebastian Ullrich
a7ba103e0a chore: remove leanpkg 2022-02-04 19:03:40 +01:00
Leonardo de Moura
2bc5b8d1ec chore: remove doc/changes.md
In the last dev meeting, we have decided we are not going to use it.
We will release often (every month), and use pull requests and issues
to report changes.
2022-02-03 09:23:45 -08:00
Leonardo de Moura
9291f59c8f chore: add changes.md 2022-01-31 15:52:28 -08:00
Sebastian Ullrich
b20ecd02d7 chore: move out lean4-mode 2022-01-24 21:23:53 +01:00
Tom Ball
0b140ea451
doc: fix error in manual example
Co-authored-by: Tom Ball <you@example.com>
2022-01-22 10:03:32 +01:00
Sebastian Ullrich
f0f26728ed doc: more about initializers 2022-01-20 18:55:57 +01:00
Leonardo de Moura
98af42077c chore: fix doc 2022-01-16 09:28:03 -08:00
Josh Levine
1637d75d3f
doc: fix trivial typo 2022-01-09 10:19:26 +01:00
Andrei Cheremskoy
5eea97534f
chore(doc): remove duplicate Tactics section (#927) 2022-01-06 14:03:15 -08:00
ammkrn
f2cc9080a3 doc: document the split tactic 2022-01-04 13:28:36 -08:00
gabriel-doriath-dohler
6986032b38 doc: correct the link to "Lean Together 2021: Metaprogramming in Lean 4 continued" 2022-01-03 07:06:04 -08:00
Chris Lovett
c3a9860dc8 doc: replace leanpkg info with info about Lake
Fixes #789
2021-12-19 17:23:25 +01:00
Sebastian Ullrich
167dccce0b chore: move Leanpkg.leanVersionString to Init 2021-12-18 10:59:37 -08:00
Mario Carneiro
f17064809c fix doctest 2021-12-18 10:58:57 -08:00
Siddharth
37982c6d5c
doc: structure update
Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
2021-12-15 11:48:46 +00:00
Leonardo de Moura
483f32edd8 feat: in pure code, do use assume Id monad at do notation
This feature produced counterintuitive behavior and confused users.
See discussion at #770.

As pointed out by @tydeu, it is not too much work to write `Id.run <|`
before the `do` when we want to use the `do` notation in pure code.

closes #770
2021-12-10 12:55:14 -08:00
Sebastian Ullrich
265c18accd doc: faq: bullet points look weird and are not anchors 2021-12-09 11:53:25 +01:00
Sebastian Ullrich
45917f2f90 chore: Nix: simplify package instructions 2021-12-04 12:14:47 +01:00
ammkrn
80c04c562a doc: add/edit macro guide
Incorporate review changes to the doc book suggested by Kha.
2021-11-22 11:02:07 +01:00
ammkrn
7539799976 doc: add macro guide, light reorganizing
Sebastian suggested moving the macro guide from Mathlib4 upstream into the Lean 4 manual (called `macro_overview.md` here). There was some discussion about where to put it; the section on metaprogramming seemed like the most appropriate place. I did a little bit of reorganizing to make some items more discoverable (e.g. the user-defined notation section).
2021-11-22 11:02:07 +01:00
Sebastian Ullrich
dbdb92a411 doc: advise using Developer Mode on Windows 2021-11-19 10:09:26 +01:00
Sebastian Ullrich
c5b6968c86 chore: symlink to source from build dir 2021-11-19 10:09:26 +01:00
Leonardo de Moura
47956b9b9e chore: fix test 2021-11-15 18:47:25 -08:00
Leonardo de Moura
c67541570f fix: fixes #787 2021-11-15 18:31:57 -08:00
Sebastian Ullrich
941b4c21e0 chore: CRLF be gone 2021-11-09 09:49:09 +01:00