Zoe Stafford
028f82f70c
Add Data.Monoid.Exponentiation to contrib.ipkg ( #1232 )
2021-03-26 12:35:19 +00:00
Alex Gryzlov
71abc8e33b
Add Path@contrib & small changes ( #1229 )
2021-03-25 16:01:32 +00:00
G. Allais
97fb5d7b94
[ fix #893 ] proof gadget for with clauses ( #1222 )
2021-03-25 10:02:06 +00:00
Andy Lok
da92f9d676
Cleanup List1 ( #1091 )
2021-03-17 14:07:52 +00:00
Denis Buzdalov
c7f510c9de
[ fix ] Change one implementation according to recent lib change
2021-03-15 15:18:16 +00:00
Denis Buzdalov
cf981d4c68
Validated
data structure was added (#1098 )
2021-03-15 14:33:01 +00:00
Edwin Brady
17cdc7fa88
Merge pull request #1171 from edwinb/fix1163
...
Correct multiplicities when checking Pi binders
2021-03-09 18:36:08 +00:00
Mathew Polzin
06586d401a
Add a test package to the Idris 2 project ( #1162 )
2021-03-09 18:27:05 +00:00
Edwin Brady
04a0f5001f
Correct multiplicities when checking Pi binders
...
We've always just used 0, which isn't correct if the function is going
to be used in a runtime pattern match. Now calculate correctly so that
we're explicit about which type level variables are used at runtime.
This might cause some programs to fail to compile, if they use functions
that calculate Pi types. The solution is to make those functions
explicitly 0 multiplicity. If that doesn't work, you may have been
accidentally trying to use compile-time only data at run time!
Fixes #1163
2021-03-09 17:23:05 +00:00
Donovan Crichton
8d4e7cc581
List elem extra move/rename ( #1165 )
2021-03-07 18:00:03 +00:00
Donovan Crichton
06c4daa9bc
[ fix ] added Data.Elem.Extra to contrib.ipkg
...
Added the missing module path in contrib.ipkg.
2021-03-07 11:56:23 +00:00
G. Allais
1d96dd2bd7
[ refactor ] generalise open union machinery ( #1157 )
2021-03-05 09:28:23 +00:00
Stefan Höck
8d4321eb9a
Add Data.Bits to base ( #1033 )
2021-03-04 20:59:56 +00:00
stefan-hoeck
d952741563
[new] instances for SortedMap and Set
2021-03-04 14:54:27 +00:00
Donovan Crichton
2de2ac2e2c
[ new ] Lemmas: append preserves List membership. ( #1152 )
2021-03-04 14:50:10 +00:00
Denis Buzdalov
2bb8ff90e2
[contrib] Existing natToFinLTE
was reimplemented to have 0 LT argument
2021-03-01 08:31:09 +00:00
G. Allais
cee7e38894
[ new ] Proof search from 'Applications of Applicative Proof Search' ( #1093 )
2021-03-01 08:29:43 +00:00
Edwin Brady
4726c32d94
Add --ignore-missing-ipkg flag
...
When bootstrapping, we're building things without packages being
available, so we can't expect to find them when looking for
dependencies. So, we find them another way, with an environment
variable. This flag is to tell Idris not to worry about missing
dependencies in this situation.
We also need to update the bootstrapping code, to deal with the new
version number format and new flag in the ipkg files for the libraries.
I think it's still safe to build from the previous version though - lets
see if CI agrees!
2021-02-27 19:39:47 +00:00
Edwin Brady
1052c41a3c
Use version number field in ipkg
...
Packages are now installed in a directory with their version number.
On adding a package directory, we now look in a local 'depends'
directory first (to allow packages to be installed locally to another
project) before the global install directory.
Dependencies can have version bounds (details yet to be implemented) and
we pick the package with the highest version number that matches.
2021-02-27 14:15:19 +00:00
G. Allais
d2eeb7ce86
[ fix #758 ] desugar non-binding sequencing in do blocks to (>>) ( #1095 )
2021-02-24 11:07:16 +00:00
Guillaume ALLAIS
00067e8151
[ fix #637 ] force indentation after a with
2021-02-23 10:52:22 +00:00
G. Allais
74b051589b
[ new ] Perfect binary trees ( #1063 )
2021-02-22 09:54:16 +00:00
Mathew Polzin
c3a42966e7
fix indentation in Golden so that prompt happens after both paths under expected and actual outputs don't match.
2021-02-22 09:39:57 +00:00
Guillaume ALLAIS
5b5bdfe769
[ contrib ] Positions in strings
...
This is an alternative to using `fastUnpack` and `fastPack` to work
on lists of characters.
Using this to refactor the lexer and benchmarking the resulting
compiler on building idris2 shows it's 3 to 5s slower than the
current implementation that goes via `List Char`.
This may be backend-dependent so I still push this to contrib,
with the plan of running further benchmarks in the future.
2021-02-18 17:52:25 +00:00
Denis Buzdalov
b355b12cdb
Some cleanup was done. Changed code is mosly equivalent to the former.
...
A lot of useless matches of implicit arguments were removed.
2021-02-16 19:05:33 +00:00
Giuseppe Lomurno
70d1505c5c
Change PreorderReasoning arguments to 0
2021-02-14 15:12:17 +00:00
Michael Messer
4baacc322b
Generalize Category
2021-02-11 09:38:26 +00:00
G. Allais
8ba3d8572b
[ new ] Data.OpenUnion ( #1050 )
2021-02-10 15:25:35 +00:00
Ohad Kammar
aa72203fc8
Preliminary datatypes for telescopes ( #703 )
...
Co-authored-by: Ohad Kammar <ohad.kammar@ed.ac.uk>
Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
2021-02-09 14:18:41 +00:00
stefan-hoeck
8102e9e495
add Data.Int.Order to contrib.ipkg
2021-02-07 11:49:35 +00:00
Wen Kokke
bd683938bf
Overhaul of concurrency primitives ( #968 )
...
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
2021-02-05 16:16:20 +00:00
G. Allais
d9e0841245
[ contrib ] support for C backend ( #1015 )
2021-02-02 15:31:30 +00:00
Denis Buzdalov
72229e3232
Important LazyList
's operations were made to be truly lazy.
2021-01-27 19:38:08 +00:00
Guillaume ALLAIS
708b5c300a
[ new ] Order relations on Int
2021-01-27 18:23:40 +00:00
stefan-hoeck
7ef6b79ab1
Remove Control.Monad.Trans.Either from contrib
2021-01-22 08:10:47 +01:00
stefan-hoeck
8074ad1f8d
Make Control.Validation use Control.Monad.Error.Either
2021-01-22 08:08:34 +01:00
André Videla
60527d127f
Merge pull request #554 from Sventimir/validation
...
Input validation
2021-01-22 01:30:07 +00:00
André Videla
3bd2fae525
Update Arrow.idr
2021-01-22 00:54:58 +00:00
André Videla
2e063544e8
Update Category.idr
2021-01-22 00:53:59 +00:00
André Videla
016cd213b9
Delete Either.idr
2021-01-22 00:53:12 +00:00
Stefan Hoeck
0906ac30b9
added System.Console.GetOpt to contrib ( #974 )
2021-01-21 17:59:06 +00:00
André Videla
0c665bc952
Merge pull request #884 from mattpolzin/list-reverse-involutory
...
Add proof that list reverse is involutive into base.
2021-01-21 13:33:34 +00:00
Ruslan Feizerahmanov
515453329a
Revert back to linear iterators ( #938 )
2021-01-21 12:37:30 +00:00
Stefan Hoeck
fb08004041
removed trailing whitespace ( #955 )
2021-01-21 11:33:03 +00:00
Fabián Heredia Montiel
a23871e57e
Execute tests concurrently
2021-01-19 18:40:35 +00:00
Edwin Brady
efae2682bd
Merge pull request #896 from Russoul/toString-iterators
...
Add withIteratorString
2021-01-16 15:47:45 +00:00
Alex Gryzlov
c67fc5d7c0
add Inspect idiom ( #919 )
2021-01-16 14:18:34 +00:00
Edwin Brady
96257f23c3
Merge pull request #914 from stefan-hoeck/lazy-list-impls
...
Eq, Ord, and Show instances for LazyList
2021-01-16 14:07:26 +00:00
Stiopa Koltsov
b76c9d91e0
Remove trailing whitespaces and add trailing newlines
2021-01-16 10:00:03 +00:00
André Videla
bea840418a
Merge pull request #823 from andylokandy/path
...
Changes to System.Path
- Rename `startWith` to `isBaseOf`
- Rename `stripPrefix` to `dropBase`
- Add `dropExtension`
- Add `splitPath`
2021-01-14 22:09:04 +00:00