tydeu
42802f9788
feat: lake: postUpdate? + test
2023-10-13 02:31:06 -04:00
tydeu
275af93904
test: lake: show module with failed import
2023-10-12 22:16:04 -04:00
tydeu
99b78bcc23
fix: stdin := .null in IO.Process.output
2023-10-12 08:55:26 +02:00
Mario Carneiro
6bdfde7939
fix: quot reduction bug
2023-10-11 21:25:34 -07:00
Scott Morrison
5d096c3fd8
chore: make Environment.add private ( #2642 )
...
* feat: replay constants into an Environment
* suggestions from code review
* chore: make Environment.add private
* patch Lake to use Environment.add via extern
2023-10-12 15:00:27 +11:00
Mario Carneiro
b558b5b912
perf: use quick_is_def_eq first
2023-10-11 19:35:16 -07:00
Scott Morrison
57e23917b6
fix: implementation of Array.anyMUnsafe
...
move test
2023-10-11 11:20:45 +02:00
Mario Carneiro
14e626a925
feat: ToMessageData (α × β) instance
2023-10-11 10:12:06 +02:00
Wojciech Nawrocki
856a9b5153
fix: treat pretty-printed names as strings
...
I initially expected `Name`s to always faithfully represent internal data, in particular that a name with macro scopes would have a form such as ```foo._@.Module._hyg.1``, and that tombstones would only appear in types that represent pretty-printed output such as as `String` or `Format`. However, that is not what happens. We have `sanitizeNames` which rewrites the `userName` field of local hypotheses to be `Name.str .anonymous "blah✝"`.
Then in the server code, we put these into `names : Array Name`e. This works fine for displaying in the infoview, but if we try to deserialize an `InteractiveHypothesisBundle` inside an RPC method for widget purposes, the `FromJson Name` instance blows up in `String.toName`.
I think my preferred solution is to, rather than 'fix' `String.toName` to accept these names with tombstones, stop pretending that they are actual `Name`s and re-type `InteractiveHypothesisBundle.names : Array String`. This should be a backwards-compatible change w.r.t. infoview code as the JSON representation is a string in either case. It is not backwards compatible w.r.t. meta code that uses this field.
2023-10-11 09:51:14 +02:00
David Christiansen
0700925bbe
doc: add a brief description of ccache
2023-10-11 09:30:46 +02:00
David Christiansen
7450a8cfa3
doc: describe commit conventions for update-stage0
...
Updates to stage0 should be their own commits.
2023-10-11 09:30:46 +02:00
Scott Morrison
97f5ad7804
chore: change trustCompiler axiom to True ( #2662 )
2023-10-11 06:59:03 +00:00
Mario Carneiro
115991066d
chore: remove unnecessary partial in ForEachExpr.visit ( #2657 )
2023-10-11 04:28:54 +00:00
Scott Morrison
076908d13b
feat: replay constants into an Environment ( #2617 )
...
* feat: replay constants into an Environment
2023-10-11 14:08:03 +11:00
Scott Morrison
833e778cd5
chore: add axiom for tracking use of reduceBool / reduceNat ( #2654 )
2023-10-11 01:47:59 +00:00
Scott Morrison
ca0e6b0522
chore: fix MVarId.getType' ( #2595 )
...
* chore: fix MVarId.getType'
* add test
2023-10-09 11:04:33 +00:00
Scott Morrison
41ed5ddf57
chore: add missing if statements to pr-release.yml workflow ( #2639 )
2023-10-09 04:00:56 +00:00
Sebastian Ullrich
00e981edcd
perf: do not inhibit caching of default-level match reduction
2023-10-08 17:24:20 -07:00
Leonardo de Moura
9f50f44eed
perf: missing cache at whnfImp
2023-10-08 17:22:14 -07:00
int-y1
ce4ae37c19
chore: fix more typos in comments
2023-10-08 14:37:34 -07:00
int-y1
8d7520b36f
chore: fix typos in comments
2023-10-08 10:46:05 +02:00
Sebastian Ullrich
184318fd8b
fix: eliminate widestring uses
2023-10-07 12:07:19 +02:00
David Christiansen
b0b922bae4
feat: list the valid case tags when the user writes an invalid one
...
Before, Lean would simply emit the message "tag not found". With this
change, it also tells the user what they could have written that would
be accepted.
2023-10-06 11:14:21 +02:00
David Christiansen
4c6d2b3998
doc: fix typo in comment
...
Fix a misspelled/mistyped word in a comment.
2023-10-06 11:14:21 +02:00
David Thrane Christiansen
b3ff006eb8
doc: add missing character in testing.md
...
The testing docs omit the `s` in the `tests` directory at one point. The incorrect directory name threw me off - it will probably throw others off.
2023-10-06 11:07:10 +02:00
Siddharth
734ce1ef2f
feat: show path of failed import ( #2616 )
2023-10-04 23:38:59 -04:00
Denis Gorbachev
42cb59efdd
doc: fix the link to contribution guidelines ( #2623 )
2023-10-05 12:02:55 +11:00
Sebastian Ullrich
dceed634a0
doc: fix typo in quickstart.md
2023-10-04 17:49:50 +02:00
Mario Carneiro
89b65c8f1d
feat: make Environment.mk private ( #2604 )
...
* feat: make `Environment.mk` private
---------
2023-10-04 22:02:54 +11:00
Alexander Bentkamp
7dc1618ca5
feat: Web Assembly Build ( #2599 )
...
Co-authored-by: Rujia Liu <rujialiu@user.noreply.github.com>
2023-10-04 09:04:20 +02:00
kuruczgy
83c7c29075
fix: XML parsing bugs ( #2601 )
...
* fix: make XML parser handle trailing whitespace in opening tags
* fix: make XML parser handle comments correctly
---------
Co-authored-by: György Kurucz <me@kuruczgy.com>
2023-10-04 11:51:22 +11:00
Alex J Best
44bc68bdc6
fix: withLocation should use withMainContext for target ( #2607 )
2023-10-04 10:12:43 +11:00
Arthur Adjedj
6b93f05cd1
feat : derive DecidableEq for mutual inductives ( #2591 )
...
* feat : derive `DecidableEq` for mutual inductives
* doc: document `RELEASES.md`
---------
2023-10-03 02:17:13 +00:00
github-actions[bot]
1572e55f06
doc: update changelog
2023-10-02 13:03:48 +00:00
Sebastian Ullrich
842881e137
fix: default for MACOSX_DEPLOYMENT_TARGET ( #2598 )
...
Co-authored-by: Scott Morrison <scott@tqft.net>
2023-10-02 13:03:19 +00:00
Denis Gorbachev
4b47462ccc
refactor: remove redundant let
2023-10-02 14:27:04 +02:00
thorimur
8c0f0b5250
docs: update RELEASES.md for #2502 ( #2606 )
2023-10-02 21:38:54 +11:00
Denis Gorbachev
e6292bc0b8
doc: fix docstring typos ( #2605 )
...
* lake: fix a typo in `get_config?` syntax doc
* fix a typo in `withImporting` doc
2023-09-30 07:51:35 -04:00
Joachim Breitner
06e057758e
chore: Remove unused variables from kernel
...
when I build lean locally, I get a nice and warning-free build
experience with the exception of these two unused variables. They can
probably go?
2023-09-27 09:43:07 -07:00
Scott Morrison
75f91f372c
chore: add release note about lake startup time ( #2597 )
2023-09-27 08:20:48 +00:00
Joachim Breitner
ae470e038e
docs: fix doc comment syntax in declModifiers doc comment ( #2590 )
...
The hover on `declModifiers` says doc comments are `/-! … -/`, when it
should say `/-- … -/`.
2023-09-27 11:57:40 +10:00
Mario Carneiro
e6fe3bee71
fix: hover term/tactic confusion
2023-09-26 10:16:37 +02:00
Scott Morrison
a5a150a862
chore: begin development cycle for v4.3.0 ( #2585 )
2023-09-26 04:18:54 +00:00
Sebastian Ullrich
4acdcc4c40
doc: add token error change to RELEASES.md ( #2579 )
2023-09-26 11:38:59 +10:00
tydeu
decf7a042a
perf: lake: lazily acquire repo URL/tag in :release
2023-09-25 17:07:27 -04:00
Sebastian Ullrich
2f51d5af49
chore: CI: add backport action
2023-09-25 11:33:14 +02:00
tydeu
2ac782c315
test: lake: add env & dep cfg benchmarks + cleanup
2023-09-22 20:31:48 -04:00
tydeu
16ceb4bf82
perf: lake: no lean --githash when collocated
2023-09-22 16:56:12 -04:00
Sebastian Ullrich
83ecac4fd8
perf: lake: build lakefile environment incrementally
2023-09-22 22:01:07 +02:00
Sebastian Ullrich
c3fd34f933
chore: disable "lake build lean" benchmark for now
2023-09-22 20:05:20 +02:00