Joel Berkeley
0ab0ecb199
add replaceAt
for List
( #2335 )
2022-03-03 23:40:18 +00:00
G. Allais
1011cc6162
[ papers ] Tychonoff (Part I) ( #2332 )
2022-02-24 11:12:53 +00:00
Jan de Muijnck-Hughes
4ba3bb6670
[ fix ] Literate things ( #2312 )
...
Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
2022-02-18 11:29:52 +00:00
CodingCellist
c5d96a10e7
[ base ] Split a list according to a decidable property ( #2302 )
2022-02-11 11:21:20 +00:00
Joel Berkeley
5abc01453d
add deleteAt for List ( #2317 )
2022-02-11 09:28:36 +00:00
Guillaume Allais
bec4a0a88e
[ re #499 ] quantity-aware with-clauses
2022-02-09 09:19:40 +00:00
Mathew Polzin
8208ed2590
[ new ] A couple of nearly trivial proofs about list length. ( #2311 )
2022-02-07 17:51:04 +00:00
Nick Drozd
2c9bf24d2f
[ libs ] Strengthen some totality checks ( #2304 )
2022-02-03 18:41:51 +00:00
Robert Wright
1776efa8a5
Allow Type-level String operations
2022-02-03 16:10:47 +00:00
madman-bob
0ee9632e45
[ refactor ] Abstract Prelude.elem to work with all Foldables ( #2294 )
2022-02-01 21:34:29 +00:00
Denis Buzdalov
b17e65fc82
[ base ] Generalise existing min-max semigroups and add monoid for Fin
( #2298 )
2022-02-01 21:24:49 +00:00
octeep
9a9412e1a2
make writeBufferData return the number of bytes that have been written ( #2276 )
2022-01-25 13:25:06 +00:00
G. Allais
ec5afa5065
[ libs ] move propaganda out of contrib ( #2213 )
2022-01-25 12:25:55 +00:00
James Cook
e82600c4d6
[ opt ] transform rule making List.length tail-recursive. ( #2100 )
2022-01-24 16:12:29 +00:00
stefan-hoeck
1b3be25075
[ breaking, totality ] fGetLine should be covering
2022-01-20 17:48:11 +00:00
Zoe Stafford
5e42bbfcc9
Merge pull request #2274 from octeep/main
...
make readBufferData return the number of bytes that have been read
2022-01-20 13:11:13 +00:00
Robert Wright
d85016b64d
Add Fin modular arithmetic Num instance
2022-01-20 10:13:20 +00:00
Stefan Höck
ca5b1ba094
[ totality ] Data.String.words should be total ( #2262 )
2022-01-20 09:58:50 +00:00
octeep
f7bcd1f0b2
make readBufferData return the number of bytes that have been read
2022-01-19 17:35:14 +00:00
Robert Wright
76d1936fad
Add Singleton type
2022-01-19 14:22:40 +00:00
Mathew Polzin
4220c644cf
Add a few missing NodeJS FFI functions to System
( #2271 )
...
* support for system command via node backend.
* Add env var set/unset
* fix env unset function
* Update libs/base/System.idr
* modify system test to cover node and chez.
* Add base tests for env get/set
2022-01-18 22:43:03 -08:00
Guillaume Allais
ffff9bc2e1
[ new ] die
2022-01-18 18:44:36 +00:00
Mathew Polzin
1b4811b1ed
[cleanup] Unhide string module ( #2230 )
...
* unhide string lines/unlines functions and clean up a bit.
* skip the extra newline now that unlines adds one at the end.
2022-01-06 10:34:15 +00:00
Nick Drozd
ec5f40eec7
Injective follow-up ( #2155 )
2022-01-05 09:40:23 +00:00
Mathew Polzin
266e06cab7
[cleanup] Small round of unused import culling. ( #2231 )
...
* small round of unused import culling.
* and also the libraries.
2021-12-29 20:42:29 -08:00
alissa-tung
158cb1c75e
[ nodejs ] pid
2021-12-22 22:25:21 +08:00
Denis Buzdalov
a09c5082c5
[ base ] Use Fin n
as index in Bits
( #2192 )
2021-12-16 18:26:52 +00:00
Balazs Komuves
3463adbc48
[ fix #2032 ] Slow typechecking on Int
operation when Data.Fin.fromInteger
is in scope ( #2189 )
2021-12-13 13:47:53 +00:00
Balazs Komuves
c3ec522077
[ fix #1404 ] Totality annotation for data type definitions ( #2179 )
...
Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
Co-authored-by: stefan-hoeck <hock@zhaw.ch>
2021-12-08 16:08:26 +00:00
André Videla
10b9685e4b
Injective interface and its implementations ( #2114 )
...
Co-authored-by: Nick Drozd <nicholasdrozd@gmail.com>
2021-11-26 10:55:17 +00:00
G. Allais
059f74ad0b
[ fix #1861 ] rewrite_impl is linear ( #2150 )
2021-11-25 17:07:05 +00:00
Nick Drozd
9e0676597d
Cut relation implicit args
2021-11-25 00:26:57 +00:00
Guillaume ALLAIS
a91fdae426
[ base ] generalise Data.List type signatures
2021-11-24 19:58:35 +00:00
stefan-hoeck
c504a26bc8
[ type inference ] use determining parameter in relation interfaces
2021-11-22 09:52:32 +00:00
Mathew Polzin
1576a578a0
[ cleanup ] Remove unused imports ( #2123 )
...
* contrib library unused import removal
* remove a few unused imports.
* another round of unused import removal
* another round of unused import deletion.
* another round of unused import deletion.
2021-11-18 16:47:36 +00:00
Thomas Dziedzic
c31cd9513f
make Data.List1.length public
2021-11-18 16:42:49 +00:00
Thomas Dziedzic
88f8f3df8e
implement Data.List1.length
2021-11-18 08:38:00 +00:00
Mathew Polzin
0eba4c691e
Add %deprecate pragma ( #2086 )
2021-11-17 10:41:03 +00:00
Mathew Polzin
d2ce85ea05
Merge pull request #2096 from madman-bob/system-run
...
Add the `System` `run` function
2021-11-10 08:58:39 -08:00
André Videla
9e6678e3d3
Merge pull request #2102 from madman-bob/list-singleton
...
Add List singleton function
2021-11-10 00:46:40 +00:00
Zoe Stafford
3063218d46
[ new ] Add %nomangle
( #2063 )
...
This is (for once) not a breaking changes, instead backends will need to opt in to this change, using the utilities in Compiler.NoMangle. See the js backend for an example of how to do this.
This is the first step to being able to use idris to create libraries usable by other languages.
2021-11-09 16:23:50 +00:00
Edwin Brady
2f6ec76223
Get information about names in reflection ( #2110 )
...
* Only normalise a search goal if it's fast
While we do end up normalising it anyway on success, there might be
things blocking it that make the intermediate terms very big, so only do
it speculatively to see if it's quick.
* Get information about names in reflection
Currently this is only whether it's a function, or data or type
constructor. I expect more may be useful/possible.
2021-11-07 15:06:53 +00:00
Robert Wright
921bc24a2a
Add List singleton function
2021-11-05 16:08:54 +00:00
Robert Wright
4732486bbc
Add System run function
2021-11-05 11:59:17 +00:00
Robert Wright
dc47df688c
Add System.File fRead function
2021-11-05 11:59:17 +00:00
Robert Wright
c1fc487bec
Return error code from pclose
2021-11-05 11:59:17 +00:00
Robert Wright
ac716c1dc7
Add SnocList factConcat transformation
2021-11-05 11:59:17 +00:00
Robert Wright
c964f8d8bc
Add System escapeCmd function
2021-11-05 11:59:17 +00:00
G. Allais
668c221474
[ re #2032 ] faster version of fromInteger ( #2090 )
2021-11-02 17:43:01 +00:00
Bertalan Kis
babf346a77
[base] add IsRight and IsLeft proofs to Data.Either
2021-11-01 11:50:05 +00:00