PHO
7c87005092
Support "make -j" ( #3135 )
...
* Allow Idris2 to bootstrap with "make -j"
"linear" should explicitly depend on "base" so that "base" is built before
"linear", otherwise it can fail with:
> Error: Module Data.Nat not found
>
> Data.Linear.Copies:5:1--5:16
> 1 | module Data.Linear.Copies
> 2 |
> 3 | import Data.Linear.Bifunctor
> 4 | import Data.Linear.Notation
> 5 | import Data.Nat
> ^^^^^^^^^^^^^^^
* Allow Idris2 to build with "make -j all"
"all: ${TARGET} libs" is bad because it means "${TARGET}" and "libs" can be
built independently. So "make -j" attempts to build them parallelly and
fail.
2023-11-08 08:18:02 +00:00
Thomas E. Hansen
db87cef0ad
[ doc ] Headings for envvars based on use-time
...
Some envvars are only used at build-time, some only at runtime, and lots
are used at both. This clearly cagetorises them accordingly in the docs.
2023-11-01 09:41:22 +00:00
Denis Buzdalov
5f29b0b9c5
[ elab ] Add an ability to inspect in which function we currently are
2023-10-26 15:42:26 +01:00
Denis Buzdalov
50a579fa18
[ elab ] Implement an operation of returning referred defs of a def
2023-10-26 15:42:26 +01:00
Adowrath
ea093ffaed
[ warning ] for incompatible visibilities on forward decls and definitions. ( #3063 )
2023-10-25 11:24:43 +01:00
Denis Buzdalov
305604d243
[ base ] Implement a bunch of standard interfaces for Data.These
( #3117 )
...
* [ base ] Implement a bunch of standard interfaces for `Data.These`
* [ base ] Add couple of eliminators with default values for `These`
2023-10-25 11:15:28 +01:00
Denis Buzdalov
2358a74a29
[ base ] Implement Zippable
for several standard types + small cleanup
2023-10-16 22:41:55 +01:00
0xd34df00d
7c8076c149
[ base ] Relevant and irrelevant traversals for Data.Vect.Quantifiers.All
2023-10-16 09:49:22 +01:00
Denis Buzdalov
419a440dad
[ impl ] Support default
implicits in named implementations ( #3100 )
2023-10-13 15:26:42 +01:00
0xd34df00d
f2a95071a1
[ base ] Add Data.Vect.Quantifiers.All.remember
, the inverse to forget
( #3096 )
...
Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org>
2023-10-13 15:26:24 +01:00
Stefan Höck
7fbbb030df
[ new ] add Data.List.grouped function ( #3089 )
2023-10-13 13:48:15 +01:00
Denis Buzdalov
f7d4b7f4ed
[ base ] Add a bridge between MonadState
and Ref
2023-10-13 13:47:31 +01:00
Denis Buzdalov
6815aefbe0
[ elab ] Implement file operations, e.g. applicable for type providers
2023-10-13 13:26:46 +01:00
Denis Buzdalov
cbbd0c8caa
[ elab ] Make %macro
-function be callable without the extension
2023-10-11 13:20:12 +01:00
0xd34df00d
8d5caaa137
[ base ] Add anyToFin
converting a Vect's Any
to its index
2023-10-09 15:03:55 +01:00
Denis Buzdalov
1256ded110
[ elab ] Implement Ord
for Count
2023-10-04 16:31:38 +01:00
Denis Buzdalov
276d41d86c
[ new ] Implement Sized
for Seq
s
2023-10-01 07:16:20 +01:00
Denis Buzdalov
3886200d29
[ fix ] Make traverse
and friends lazy for LazyList
2023-09-25 19:51:17 +01:00
Denis Buzdalov
6dc06cd67d
[ base ] Add update functions to sorted maps
2023-09-23 22:47:05 +01:00
Steve Dunham
e4fe90e1a3
Merge branch 'main' into foo
2023-09-07 20:19:26 -07:00
Ohad Kammar
d3dc9b7c44
[ refactor ] S-Exp protocols to depend on fewer Idris modules ( #3060 )
2023-08-31 11:53:14 +01:00
Denis Buzdalov
a4ccb27c83
[ base ] Add lists' infix-by functions, complementary to existing ones
2023-08-28 13:53:59 +01:00
russoul
ebbae42c85
Add uncons' to base; rewrite head' and tail' in terms of uncons'
2023-08-23 11:04:23 +01:00
Janus Troelsen
694b1650c8
[ racket ] Add library loading ( #3049 )
2023-08-23 11:04:01 +01:00
Jens Petersen
48dbc3251b
implement DESTDIR support for distros
...
both 'make install' and 'idris2 --install*' should respect DESTDIR now
2023-08-22 16:44:13 +01:00
Steve Dunham
878187d7f7
[ fix ] Totality checker misses indirect references to partial data
2023-08-12 12:57:28 -07:00
Steve Dunham
badf1e98c8
[ base ] Make foldr1 and foldr1By public
2023-08-07 08:10:35 +01:00
Steve Dunham
bde1a66075
[ fix ] Fix pattern match issue with function application in Refl ( #3027 )
2023-08-04 13:46:04 +01:00
scarf
c7abb148e8
feat: even and odd for Nat and Integral ( #3021 )
2023-07-31 08:36:40 +01:00
André Videla
1fa638494d
[ new ] Fixity access modifier ( #3011 )
2023-07-31 08:35:16 +01:00
CodingCellist
51403ab18c
[ fix ] Only set IDRIS2_PREFIX
if it is unset (fixes Issue 3022) ( #3024 )
2023-07-31 08:18:15 +01:00
Robert Wright
cbbe761c51
Add fromTTImp, fromName, and fromDecls for custom TTImp, Name, and Decls literals
2023-07-31 08:17:55 +01:00
André Videla
a39bfc6ce3
Merge branch 'main' into constant_fin
2023-07-18 23:46:07 +09:00
Steve Dunham
8d7791ba55
[ base ] Add getTermCols and getTermLines to base library and fix pri… ( #3009 )
2023-07-18 09:42:47 -05:00
CodingCellist
6729fa8c89
Revert "Treat unit types as erased in constructors ( #3002 )"
...
This reverts commit 677acf0d84
.
2023-07-07 17:48:07 +02:00
Zoe Stafford
677acf0d84
Treat unit types as erased in constructors ( #3002 )
...
* Treat unit types as erased in constructors
* Cleanup + dump ttc version
* Update CHANGELOG.md
2023-07-05 19:51:34 +01:00
CodingCellist
18e887389f
[ papers ] Port the first part of "Deferring the details [...]" by Liam O'Connor ( #2974 )
...
Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org>
2023-07-05 16:42:58 +01:00
stefan-hoeck
c1a5be9b5b
[ performance ] make Eq and Ord for Fin run in constant time
2023-07-05 15:58:41 +02:00
Denis Buzdalov
5dcf62499d
[ elab ] Make elab scripts be able to record warnings ( #2999 )
2023-06-19 16:34:19 +01:00
André Videla
9f20ba2609
Merge pull request #2918 from buzden/min-max-gen-for-connex
...
[ new ] Add generalisations of `min` and `max` for `StronglyConnex`
2023-06-16 15:27:06 +01:00
Andre Videla
9797a79b53
[ new ] Allow fixities to be hidden with %hide
...
* Change the printing of namespaced operator to show
parenthesis around operators
* Update warning when conflicting fixities are found
* Do not warn about redundant but compatible fixities
2023-06-14 11:19:59 +01:00
Justus Matthiesen
2733ec2333
[ doc ] add lazy functions to changelog
2023-06-12 11:04:59 +01:00
Aleksei Volkov
e594669210
[ fix #1878 ] Programmer-provided terms should be alwaysReduce
( #2977 )
...
* [ fix ] Programmer-provided terms should be alwaysReduce
This ports Edwin's commit that fixes the original issue back to Idris
Co-authored-by: Edwin Brady <ecb10@st-andrews.ac.uk>
* [ tests ] Added regression test for #1878
* Updated CHANGELOG.md and CONTRIBUTORS
---------
Co-authored-by: Edwin Brady <ecb10@st-andrews.ac.uk>
2023-06-01 17:08:02 +01:00
Thomas E. Hansen
009eb270c1
Revert "[ fix ] Rename Prelude.Interface NS Lazy to ILazy"
...
This reverts commit bd231c2076
, which is a
separate thing that should be its own PR.
2023-05-30 09:46:24 +02:00
Thomas E. Hansen
bcbe2b8c4f
[ fix ] Rename Prelude.Interface NS Lazy to ILazy
...
This is required due to `Lazy` now being a reserved compiler primitive.
N.B. This may also break other dependencies and/or tools. Notably stuff
outwith the Idris2 upstream. There's been some discussion in #2987 .
2023-05-30 09:46:24 +02:00
Thomas E. Hansen
1f7773ebf8
[ new ] Implement :doc for laziness primitives
...
* Restructured the parser to be a bit nicer around these as well
(subject to approval).
Fixes #2599
2023-05-30 09:46:24 +02:00
Denis Buzdalov
91b7aafb74
[ base ] Add generalisations of min
and max
for StronglyConnex
2023-05-15 19:15:36 +03:00
Aleksei Volkov
298f91cf0a
[ base ] Implemented Ord
for Name
, Namespace
and UserName
( #2973 )
2023-05-15 14:45:42 +01:00
Stefan Höck
2739c3a389
[ codegen ] more flexible array implementation on JS backends ( #2966 )
2023-05-14 06:45:50 +01:00
stefan-hoeck
3c9393e5a8
[ codegen ] constant fold believe_me
2023-05-06 14:52:14 +01:00