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
Sebastian Ullrich
bbfcb1cfb2
perf: allocation-free for i in [n:m] do
2022-01-03 07:03:56 -08:00
Sebastian Ullrich
555584375a
fix: compare fields top-down in deriving Ord
2022-01-03 07:02:13 -08:00
Sebastian Ullrich
132898f7e7
fix: reinstate monadic panic workaround
2022-01-03 14:58:24 +01:00
Henrik Böving
2d85c9ba2f
chore: fix notation test
...
The ppNotationCode.lean test failed because the output of the notation
elaborator changed (purposely), adapt it to the new output.
2022-01-03 13:47:11 +01:00
Sebastian Ullrich
75233a40f7
chore: update stage0
2022-01-03 13:46:56 +01:00
Henrik Böving
4ee058039b
chore: apply suggestions from code review
...
Co-authored-by: Gabriel Ebner <gebner@gebner.org>
2022-01-03 13:43:33 +01:00
Henrik Böving
5d3e3b9296
fix: don't drop tags in identNoAntiquot
2022-01-03 13:43:33 +01:00
Henrik Böving
6fe010d0c2
fix: keep info in auto generated notation delaborators
...
Previously automatically generated delaborators for syntax declared with
the notation (and derived) keywords would silently drop information
during delaboration.
2022-01-03 13:43:33 +01:00
Henrik Böving
cbedff5aba
feat: optionally add information to all symbols during delaboration
...
Add an option called pp.tagSymbols which, if set, makes the
delaborator add term information to all symbols it can during
delaboration. This option is disabled per default because it would
break the LSP server's hovering behaviour. It is however useful
when for example automatically generating interactive documentation.
2022-01-03 13:43:33 +01:00
Mac
748c9ab73a
chore: tweak error message
...
Co-authored-by: Wojciech Nawrocki <wjnawrocki+gh@protonmail.com>
2021-12-27 09:44:11 +01:00
tydeu
30bdd4e751
doc: add docstring for chainLspRequestHandler
2021-12-27 09:44:11 +01:00
tydeu
004e172f5d
feat: LSP request handler chaining
2021-12-27 09:44:11 +01:00
Sebastian Ullrich
3da76efa10
chore: Nix: remove Leanpkg from default deps
2021-12-25 17:00:20 +01:00
Gabriel Ebner
70ef4e529c
feat: allow attributes on structures and inductives
2021-12-23 08:04:36 -08:00
Gabriel Ebner
f43f74e78f
chore: suppress newline after .
2021-12-23 13:56:22 +01:00
Gabriel Ebner
72851652f1
fix: spacing in suffices...by
2021-12-23 13:56:22 +01:00
Gabriel Ebner
25714a8ee1
fix: calc syntax roundtrip
2021-12-23 13:56:22 +01:00
Mario Carneiro
7956a9bb15
chore: typos
2021-12-23 10:14:39 +01:00
Sebastian Ullrich
292fb257a7
perf: do not specialize Prop typeclasses
2021-12-22 17:48:11 -08:00
Sebastian Ullrich
399ad64854
perf: do not specialize Inhabited
2021-12-22 17:48:11 -08:00
Sebastian Ullrich
45e8d9af43
feat: support [nospecialize] on typeclasses
2021-12-22 17:48:11 -08:00
Sebastian Ullrich
b4385bd259
perf: export lake symbols for the interpreter
2021-12-22 23:33:58 +01:00
Gabriel Ebner
546bb8f053
fix: widgets: do not highlight entire expression in popup
2021-12-21 21:54:51 +01:00
Sebastian Ullrich
fdd939fc40
fix: accidental memory leak in last commit
2021-12-21 19:43:02 +01:00
Sebastian Ullrich
3318f1fb05
feat: record declaration name in interpretation profile
2021-12-21 19:04:58 +01:00
Sebastian Ullrich
c62c8bd64b
chore: reenable servertest_edit
2021-12-21 18:11:28 +01:00
Gabriel Ebner
412691c958
feat: support LEAN_NUM_THREADS environment variable
2021-12-21 17:01:08 +01:00
Sebastian Ullrich
5b653197db
chore: use --run for servertests
...
/cc @Garmelon
2021-12-21 16:04:21 +01:00
Sebastian Ullrich
cbdad10419
chore: exclude flaky laketest under sanitizer for now
...
unclear how to reproduce
2021-12-21 12:19:22 +01:00
Sebastian Ullrich
b732484663
fix: do not consider worker threads as idle during startup
...
Without this change, enqueuing multiple tasks before the first worker
was started led to only a single worker being created. Now the first
increment and decrement happen under the task manager mutex, so
effectively the worker is never idle until it is out of tasks.
2021-12-21 12:01:23 +01:00
Leonardo de Moura
b278a20ac2
feat: ensure #eval converts unassigned universe metavars into parameters
...
see #898
2021-12-20 06:11:36 -08:00
Sebastian Ullrich
51dc32957b
feat: show universe args on hover
...
We might also want to replace them with fresh vars to make the hover
completely independent of the context, but this change at least avoids
any hidden information.
2021-12-20 10:51:44 +01:00
Sebastian Ullrich
068ea1beb4
fix: leanc: do not change sysroot
...
Apparently clang is smart enough to look up runtime files missing from
the sysroot in the installation directory automatically.
2021-12-19 18:55:57 +01:00
Chris Lovett
c3a9860dc8
doc: replace leanpkg info with info about Lake
...
Fixes #789
2021-12-19 17:23:25 +01:00
Sebastian Ullrich
6f9c6e4556
doc: match: mention (generalizing := true)
2021-12-19 11:14:27 +01:00
Sebastian Ullrich
5f96a9fc4d
fix: do not show type of sort in hover
...
Fixes #896
2021-12-19 11:03:15 +01:00
tydeu
f4a73889e7
feat: expose more version info (e..g., toolchain)
2021-12-19 10:44:35 +01:00
Leonardo de Moura
92a511be29
chore: fix test
2021-12-18 11:05:37 -08:00
Leonardo de Moura
6499798a35
chore: update stage0
2021-12-18 11:01:54 -08:00
Sebastian Ullrich
167dccce0b
chore: move Leanpkg.leanVersionString to Init
2021-12-18 10:59:37 -08:00
Sebastian Ullrich
234d806f6b
chore: deprecate leanpkg
2021-12-18 10:59:37 -08:00
Mario Carneiro
f17064809c
fix doctest
2021-12-18 10:58:57 -08:00
Mario Carneiro
f22f699d62
feat: split replicate / replicateTR with @[csimp]
2021-12-18 10:58:57 -08:00
Leonardo de Moura
be6bc67eb0
fix: ensure match-expressions compiled using if-then-else can be reduced with TransparencyMode.reducible
...
closes #891
2021-12-18 10:55:42 -08:00
Leonardo de Moura
b3d8766b09
chore: use doubleticks at WHNF.lean
2021-12-18 08:43:50 -08:00
Leonardo de Moura
b6fbdd8679
feat: add Meta.Context.canUnfold?
2021-12-18 08:25:56 -08:00
Leonardo de Moura
c954fc9ec7
fix: bug at simpLoop
2021-12-18 06:48:08 -08:00
Sebastian Ullrich
cd94ec20b0
fix: aux_def: avoid creating unparseable names
2021-12-17 14:21:35 -08:00
Mario Carneiro
51a78fd7af
fix: change argument order of List.get[!?D]
2021-12-17 14:21:00 -08:00