Justus Matthiesen
db4c5e7fbb
Cleanup of sizeEq
( #3138 )
2023-11-09 13:59:53 +00:00
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
Justus Matthiesen
a26766e57a
[ doc ] bring findLoops
and checkNonDesc
description back in sync
2023-11-06 20:10:21 +00:00
Justus Matthiesen
8e34332c08
[ cleanup ] remove unneeded debug messages
2023-11-06 20:10:21 +00:00
Justus Matthiesen
a84ba3b1ef
[ doc ] bring description of mkChange
back in sync
2023-11-06 20:10:21 +00:00
Justus Matthiesen
bc386dab4e
[ cleanup ] bring formatting of sc-graphs in tests back in sync
2023-11-06 20:10:21 +00:00
Justus Matthiesen
ba19fae07a
[ fix ] handle printing of empty matrices gracefully
2023-11-06 20:10:21 +00:00
Justus Matthiesen
39f3aeeb08
[ cleanup ] remove 1
suffix from Vector1
functions
2023-11-06 20:10:21 +00:00
Justus Matthiesen
291d60da08
[ cleanup ] move auxiliary function to where block
2023-11-06 20:10:21 +00:00
Justus Matthiesen
03484f2dfa
[ cleanup ] split Vector
and Vector1
into separate namespaces
2023-11-06 20:10:21 +00:00
Justus Matthiesen
c36be9291d
[ doc ] clarification on neutrals
2023-11-06 20:10:21 +00:00
Justus Matthiesen
c36625d1db
[ cleanup ] remove duplicate and unused functions
2023-11-06 20:10:21 +00:00
Justus Matthiesen
d9cc448d3e
[ debug ] sc-graphs now have labels "l" and "r" for LHS and RHS
2023-11-06 20:10:21 +00:00
Justus Matthiesen
8c7c59a5d0
[ new ] labels for pretty-printed sparse matrices
2023-11-06 20:10:21 +00:00
Justus Matthiesen
8822040f37
[ new ] replicateChar
, an analogue to spaces
but for arbitrary Char
s
2023-11-06 20:10:21 +00:00
Justus Matthiesen
80657feb34
[ doc ] sparse matrix invariants
2023-11-06 20:10:21 +00:00
Justus Matthiesen
e5788a3e86
[ test ] tracking size-change across applications
2023-11-06 20:10:21 +00:00
Justus Matthiesen
f435256812
[ test ] tracking size-change in dot patterns
2023-11-06 20:10:21 +00:00
Justus Matthiesen
2798d8f226
[ cleanup ] update expected test outputs
...
Changes to the termination checker brought along some otherwise
insignificant changes to debug and error messages.
2023-11-06 20:10:21 +00:00
Justus Matthiesen
b3c186900c
[ fix #2954 ] use matrices to represent sc-graphs
...
We also update sc-graph generation to
- fully traverse `As` patterns
- go under `Dotted` patterns
- consider `f x <= f`
2023-11-06 20:10:21 +00:00
Justus Matthiesen
c4677edc5f
[ new ] Pretty
instance for SizeChange
2023-11-06 20:10:21 +00:00
Justus Matthiesen
8a9bf396ea
[ new ] semiring instance for SizeChange
2023-11-06 20:10:21 +00:00
Justus Matthiesen
aac6e8600c
[ new ] sparse matrices
2023-11-06 20:10:21 +00:00
Justus Matthiesen
4f7f5a2ed4
[ cleanup ] use information order for SizeChange
2023-11-06 20:10:21 +00:00
Justus Matthiesen
d76361e0f6
[ refactor ] move SizeChange
to a separate file
2023-11-06 20:10:21 +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
Mathew Polzin
7b0a1b4013
Update ffi.rst
2023-10-30 17:29:20 -05:00
Denis Buzdalov
64ad807f83
[ deriving ] Try to reduce a type before searching it's showable
2023-10-30 10:07:39 +00:00
G. Allais
bee59d5fde
[ fix ] missing modules in .ipkg files ( #3124 )
...
Additionally, we now have bash options to make sure we will fail hard were
this situation to arise once again.
2023-10-27 20:37:00 +01:00
G. Allais
e2d2710504
[ linear ] introduce mapFst, mapSnd ( #3121 )
...
* [ linear ] introduce mapFst, mapSnd
* [ new ] add insertAt, the inverse to lookup
2023-10-27 13:22:13 +01:00
Steve Dunham
73507a826b
[ cleanup ] remove duplicate copy of header parsing ( #3122 )
2023-10-27 13:08:17 +01:00
Steve Dunham
58ec72e0f4
[ ci ] Run a brew update during ci
2023-10-27 07:55:44 +01: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
G. Allais
9f93d4c1ec
[ doc ] Improve the landing page ( #3119 )
...
* [ doc ] Improve the landing page
1. Mentioning the network package too
2. Adding the Idris logo to the page
2023-10-26 10:35:01 +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
CodingCellist
46be3b8082
[ ci ] Update deploy-action in ci-idris2-and-libs.yml ( #3115 )
2023-10-23 15:26:20 +01:00
Raffi Sanna
4097e6c993
Switch from 'fast' string functions to normal string functions
2023-10-23 12:01:13 +01:00
CodingCellist
fcecb165b9
[ doc ] Document failing
blocks ( #3114 )
2023-10-23 11:40:18 +01:00
Raffi Sanna
f694e5e2f0
Use do
notation in some
2023-10-19 08:45:33 +01:00
Denis Buzdalov
6c35157087
[ ux ] Make isType
fail with positioned errors
2023-10-17 18:05:54 +01:00
Denis Buzdalov
f64047b9ac
[ safe ] Set deriving escape hatches to be marked as %unsafe
2023-10-17 18:05:54 +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
Aleksei Volkov
3e5d8a54d4
[ fix ] Prevent relative path traversal in elaborator scripts
2023-10-16 09:43:22 +01:00
Steve Dunham
c04404a95b
[ fix #3097 ] Fix issues parsing %logging followed by named impls ( #3098 )
...
Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
2023-10-13 19:02:58 +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