Leonardo de Moura
c7a31ed52e
chore: remove duplicate instances
2020-11-21 11:05:52 -08:00
Leonardo de Moura
050bdd2e88
feat: readable auto generated instance names
2020-11-21 11:05:28 -08:00
Leonardo de Moura
3ff494832d
chore: cleanup
2020-11-21 08:59:21 -08:00
Leonardo de Moura
b672e37bcc
chore: annotate OfNat and ToString default instances
2020-11-21 08:34:45 -08:00
Leonardo de Moura
84741279c0
chore: update stage0
2020-11-21 08:27:23 -08:00
Leonardo de Moura
76025c9d18
feat: add attribute [defaultInstance]
2020-11-21 08:24:28 -08:00
Leonardo de Moura
fa6d35adfa
chore: fix tests
2020-11-20 17:00:13 -08:00
Leonardo de Moura
8dfb0324c5
chore: update stage0
2020-11-20 16:53:19 -08:00
Leonardo de Moura
6830291fd5
chore: remove dead code at Class.lean used by old frontend
2020-11-20 16:51:44 -08:00
Leonardo de Moura
104ade010f
chore: weird line break
2020-11-20 16:22:01 -08:00
Leonardo de Moura
e6215f7282
chore: remove some unnecessary commas
2020-11-20 15:47:27 -08:00
Leonardo de Moura
c9cbe35916
fix: adjust code to optional , at structure instances
...
@Kha I implemented the optional `,` at structure instances.
You have suggested it a few weeks/months ago. F# also implements this
feature. I got back to it while write documentation for Lean.
It looks quite nice when we are packing many functions into a structure.
BTW, F# also has optional separators for list literals :)
This is a much simpler change for us since `[...]` is defined using
the `syntax/macro_rules` commands, but I didn't find optional ','
would very useful since our list literals are usually in a single
line.
2020-11-20 15:43:35 -08:00
Leonardo de Moura
ec19dab171
chore: update stage0
2020-11-20 15:25:25 -08:00
Leonardo de Moura
fcbd72f2af
feat: optional , at structure instances
2020-11-20 15:24:34 -08:00
Leonardo de Moura
8d032abcd5
chore: update stage0
2020-11-20 14:01:12 -08:00
Leonardo de Moura
27e26998d2
chore: prepare to change structInst syntax
2020-11-20 13:57:52 -08:00
Leonardo de Moura
bb6945d384
chore: update stage0
2020-11-20 12:37:12 -08:00
Leonardo de Moura
72032980ff
feat: support for unboundImplicitLocals at variable and variables commands
...
They are morally part of the header.
cc @Kha
2020-11-20 12:32:32 -08:00
Leonardo de Moura
f3779f1542
feat: add support for unbound implicit locals
2020-11-20 12:22:27 -08:00
Leonardo de Moura
5adfd37dfd
feat: add auxiliary KVMap for storing extra information at Exception.internal
2020-11-20 09:49:00 -08:00
Leonardo de Moura
2a769bbd79
feat: add missing keywords
2020-11-20 09:45:36 -08:00
Sebastian Ullrich
f6943d9c13
doc: fix highlighting of #eval etc.
2020-11-20 16:59:23 +01:00
Sebastian Ullrich
1e2c0d1d41
doc: remove "section" keywords, which aren't highlighted
2020-11-20 16:59:23 +01:00
Sebastian Ullrich
23bedc5ef5
doc: inline un-minified highlightjs-lean code into highlight.js
2020-11-20 16:59:23 +01:00
Leonardo de Moura
40ab77288d
fix: namespaces.md
2020-11-20 07:56:53 -08:00
Leonardo de Moura
eba78e2d83
test: renaming for intrinsically typed lambda calculus
2020-11-19 19:10:49 -08:00
Leonardo de Moura
594c5a52f6
fix: sections.md
2020-11-19 19:06:06 -08:00
Leonardo de Moura
5fe11e0f00
doc: move example to tour.md
2020-11-19 17:38:51 -08:00
Leonardo de Moura
b619f09010
doc: section, variables and namespaces
2020-11-19 17:34:08 -08:00
Leonardo de Moura
3323f7da60
feat: add instance Inhabited (Sort u)
2020-11-19 13:55:00 -08:00
Leonardo de Moura
e29cc367f3
feat: test each example using a separate file
2020-11-19 13:51:52 -08:00
Leonardo de Moura
72a6ce498a
chore: move lean3changes.md
2020-11-19 12:57:41 -08:00
Leonardo de Moura
a1c52ae1c4
doc: expand functions.md
2020-11-19 12:48:51 -08:00
Leonardo de Moura
918420744e
feat: add whatIsLean.md
2020-11-19 11:33:13 -08:00
Leonardo de Moura
90298ba476
feat: add helper instance
2020-11-19 11:32:54 -08:00
Leonardo de Moura
909969a7c2
chore: fix test
2020-11-19 09:25:13 -08:00
Leonardo de Moura
8a59fe5b52
feat: add ASCII version for ·
2020-11-19 09:17:08 -08:00
Leonardo de Moura
d1b679b58f
chore: update stage0
2020-11-19 09:16:56 -08:00
Leonardo de Moura
6551caf062
feat: define $ notation at Notation.lean
2020-11-19 09:10:19 -08:00
Leonardo de Moura
eb323f0c15
chore: update stage0
2020-11-19 09:06:51 -08:00
Leonardo de Moura
d7d53bf3a8
chore: remove builtin $
...
We will define it at `Notation.lean`
2020-11-19 09:04:41 -08:00
Leonardo de Moura
304c80d610
feat: use <|
2020-11-19 09:03:38 -08:00
Leonardo de Moura
b6a1914299
chore: remove $. notation
...
It has been replaced by `|>.`
2020-11-19 08:47:35 -08:00
Leonardo de Moura
f67c93191f
feat: use |>.
2020-11-19 08:38:47 -08:00
Leonardo de Moura
998dd05c65
chore: update stage0
2020-11-19 08:28:52 -08:00
Leonardo de Moura
a58a7d6536
feat: expand |>. notation
2020-11-19 08:28:12 -08:00
Leonardo de Moura
4bd7cf2ca1
chore: update stage0
2020-11-19 08:16:07 -08:00
Leonardo de Moura
91b3e3e318
feat: add pipe proj notation
...
We will delete `dollarProj`
2020-11-19 08:14:29 -08:00
Leonardo de Moura
87d97c24a7
chore: code convention
2020-11-19 08:13:11 -08:00
Leonardo de Moura
954d850e6d
feat: add F# pipe notation
2020-11-19 08:12:53 -08:00