Commit Graph

3149 Commits

Author SHA1 Message Date
Steve Dunham
a84a5a32d9 Fix at-pattern leak in recursive with blocks (#2834) 2022-12-28 09:08:09 +00:00
Zoe Stafford
947432fa30
Merge pull request #2829 from Z-snails/js-clock
add javascript support to `System.Clock`
2022-12-23 16:39:48 +00:00
Zoe Stafford
d82c5d633f
Merge pull request #2815 from mjustus/test_pkg017_ignore
[ cleanup ] ignore generated file
2022-12-22 15:02:50 +00:00
Zoe Stafford
217271a623
Js shebang (#2830)
* add shebang to outputted node file
after `chmod`ing the file, it can be run directly
ie `./build/exec/test` rather than `node ./build/exec/test``

* update CHANGELOG.md

* [ linter ]

* [ linter ] again...
2022-12-22 14:56:44 +00:00
Zoe Stafford
ae2d4efc17 add javascript support to System.Clock
This may behave incorrectly when used with web workers
2022-12-22 11:47:44 +00:00
Zoe Stafford
45fc038300
Merge pull request #2827 from Z-snails/clock
export `{to,from}Nano` in `System.Clock`
2022-12-21 17:22:22 +00:00
Zoe Stafford
18ffb852de export {to,from}Nano in System.Clock
also rename some arguments and add docs
2022-12-21 15:49:32 +00:00
Guillaume Allais
1092804726 [ fix #2821 ] Failing blocks should force delayed holes 2022-12-21 11:16:26 +00:00
Zoe Stafford
f57e6f6ebb
Merge pull request #2825 from cypheon/feature/aarch64-machine-type
[chez] Detect AArch64 machine/OS combinations correctly
2022-12-21 08:59:03 +00:00
Stefan Höck
d2c8cf461b
[ performance ] Compile non-recursive top-level constants to constants in Chez (#2817) 2022-12-21 08:48:20 +00:00
Johann Rudloff
018ef1fd8b [chez] Detect AArch64 machine/OS combinations correctly 2022-12-20 20:28:26 +01:00
Denis Buzdalov
f4ebcadfad [ base ] Add forgetting conversions of Vect.Quantifiers 2022-12-20 16:36:27 +00:00
Denis Buzdalov
2dfd7e5259 [ doc ] Minor syntactic correction in the code example 2022-12-20 16:36:27 +00:00
Sridhar Ratnakumar
9ab23c78bc docs: Fix link to libraries 2022-12-20 15:36:11 +00:00
G. Allais
0194539ef7
[ new ] __LOC__, __FILE__, __LINE__, __COL__ magic debug strings (#2819)
* [ new ] __LOC__, __FILE__, __LINE__, __COL__ magic debug strings

* [ fix ] the point is to test whitespace being ignored

* [ fix ] golden values
2022-12-17 18:12:39 +00:00
G. Allais
2f55a3ef8a
[ fix ] elaboration of records' telescopes of parameters (#2816) 2022-12-15 17:55:50 +00:00
Justus Matthiesen
5718be2b45 [ cleanup ] ignore generated file 2022-12-12 14:47:33 +00:00
Justus Matthiesen
e673d05a67
[ fix ] jump-to-definition (":name-at" IDE command) (#2811) 2022-12-09 17:02:57 +00:00
Markus Pfeiffer
c3bbdb30a1
Add mustWork in GADT data declaration parser (#2805)
Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org>
2022-12-09 16:04:11 +00:00
Guillaume Allais
1d73e359e0 [ ci ] only run latest job
As discussed on discord a while ago, this kills runs when a new
commit lands on the same branch. It should save some CI ressources.
2022-12-09 14:40:14 +00:00
Guillaume Allais
caeb55b495 [ ci ] fix initialise step
Github is now failing hard on multiline commit messages it seems.
2022-12-09 14:40:14 +00:00
Guillaume Allais
9bcaa104f3 [ new ] logging topics autocompletion in the emacs REPL 2022-12-08 21:06:39 +00:00
locriacyber
cb30d7cda8
Install *.ttm on idris2 --install (#2796)
Co-authored-by: Justus Matthiesen <mail@justusmatthiesen.com>
Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org>
2022-12-08 21:06:17 +00:00
Thomas E. Hansen
7a41606573 [ admin ] Fix PR template 2022-12-08 11:24:37 +00:00
Ruslan
d44ddc7f11
Let qualified do-notation apply to pure and to idiom brackets (#2786) 2022-12-07 22:27:58 +00:00
Ellis Kesterton
9931f35b6b
Improve parser error messages when using reserved identifiers in decls (#2803)
Co-authored-by: Ellis Kesterton <erk4@st-andrews.ac.uk>
2022-12-07 16:09:26 +00:00
G. Allais
32f92746b3
[ perf ] compile Core.CompileExpr.Pretty faster (#2800) 2022-12-07 10:08:31 +00:00
Guillaume Allais
085ea348ae [ perf ] use integers in the buffer state 2022-12-06 21:13:55 +00:00
Guillaume Allais
ebc406c519 [ perf ] cherrypick fast weakenNVar from yaffle 2022-12-06 12:28:16 +00:00
Guillaume Allais
001f48fba8 [ test ] for io_bind inlining 2022-12-06 11:55:28 +00:00
G. Allais
fcbd9e9190
[ fix #2794 ] Do not ignore notinline lets in identity detection (#2795) 2022-12-06 11:41:30 +00:00
Denis Buzdalov
ff6afb0c59 [ minor ] Make NotBothZero parameter of standard gcd to be erased 2022-12-05 15:10:16 +00:00
Denis Buzdalov
8d7b993cca [ cleanup ] Use several library functions instead of their code 2022-12-05 15:10:16 +00:00
Denis Buzdalov
33fe3f44db [ cleanup ] Clean up existing code in the Arrow module 2022-12-05 15:10:16 +00:00
Denis Buzdalov
c8f625cad9 [ typo ] Fix typo in an issue template 2022-12-05 15:10:16 +00:00
Guillaume Allais
99eda4dd2b [ papers ] fill last hole in lambda pi formalisation 2022-12-05 15:02:04 +00:00
Denis Buzdalov
59aadd650f [ ci ] Replace deprecated feature with its functional equivalent 2022-12-01 20:35:22 +00:00
G. Allais
255cce9d9c
[ ci ] fix katla scripts following the TTC version subdirectory (#2787) 2022-12-01 20:20:01 +00:00
G. Allais
85bb822f3b
[ perf ] manually eta-expand unsaturated io_bind calls (#2785) 2022-12-01 15:31:00 +00:00
G. Allais
f96c5ca596
[ papers ] LambdaPi (#2780) 2022-12-01 13:48:48 +00:00
Steve Dunham
f443723f4e [ parser ] fix issue where indentation is not checked in record parameters 2022-11-25 08:22:37 +00:00
Tim Engler
69f680e10a Update introapp.rst
Further explain why the App passed to ``run`` can't throw an exception.
2022-11-21 10:55:52 +00:00
0xd34df00d
c6a8c9e7a7 [ base ] Move the worker outside of the Vect's reverse definition 2022-11-21 10:52:47 +00:00
Robert Wright
7d9d39c045 Use escaped version of system in Idris src 2022-11-21 10:51:43 +00:00
Robert Wright
edacf65182 Bump version of Idris used in CI 2022-11-21 10:51:43 +00:00
Steve Dunham
56a9bc6be4 [ error ] Improve locality of parse errors in implicit arguments 2022-11-21 10:40:40 +00:00
Tim Engler
bff18428b4 Added seqL to Control.App and updated docs to fix #2761
Also updated test real002 to use the actual Control.App from
libs/base/Control/App.idr. Before it was using a different version that
existed within its test directory, tests/idris2/real002/Control/App.idr
2022-11-21 10:39:43 +00:00
Marek L
0e657aeba1 [ ide-mode ] Do not include whole error message in building file
display result message.

Why:
Makes the error message being displayed twice in Emacs.
This change aligns IDEMode/REPL.idr with Idris/REPL.idr which
works as expected.

Relates to:
https://github.com/idris-hackers/idris-mode/pull/563
2022-11-21 10:34:23 +00:00
Tim Engler
811dcd864f Similar to pull request #2136, commit 8ffad8878f
except now packageDirs keeps getting added to. So rather than just
saving and replacing extraDirs, I'm replacing the whole dirs directory
within defs.options
2022-11-21 10:33:56 +00:00
Kamiλ Shakirov
dbb3853484 Do not build docs for papers 2022-11-15 16:38:13 +01:00