Guillaume ALLAIS
5af1efb56e
[ refactor ] introduce NonZero
...
This has a much better behaviour with respect to proof search and
the coverage checker realising we don't need to consider the Z case
than the `Not (x = Z)` we used earlier.
2021-03-31 17:59:58 +01:00
Guillaume ALLAIS
09d8e25441
[ refactor ] more efficient implementation of range
2021-03-30 10:51:56 +01:00
Ruslan Feizerakhmanov
802113772f
Tune precedence of (===), (~=~) and (<+>)
2021-03-29 11:29:58 +01:00
CodingCellist
ec77ad21ab
[ re #1185 ] Add primitive for obtaining number of processors ( #1209 )
...
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
2021-03-26 18:27:25 +00:00
stefan-hoeck
6824111fd8
[ performance ] add fastUnlines to base
2021-03-26 12:35:29 +00:00
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
Denis Buzdalov
0749165245
[ base ] Properties of indexing after replaceAt
were added for Vect
2021-03-18 16:07:48 +00:00
Denis Buzdalov
941e3963fa
[ base ] DecEq implementations of Fin and Vect were exported publicly
2021-03-18 16:07:21 +00:00
Andy Lok
da92f9d676
Cleanup List1 ( #1091 )
2021-03-17 14:07:52 +00:00
Guillaume ALLAIS
80f8a0f8fe
[ re #1185 ] add threads
option to test runner
2021-03-16 14:03:46 +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
CodingCellist
89a84a34a4
Patch CVs and sleep
in Racket ( #1059 )
2021-03-15 13:43:12 +00:00
Stefan Höck
1784593abb
[ new ] Applicative and Monad for Pair ( #1188 )
2021-03-15 13:42:04 +00:00
robert
9300d22c31
colist
2021-03-15 13:36:05 +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
stefan-hoeck
0fd9ed0555
[ new ] Interface implementations for Subset
2021-03-09 11:25:03 +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 Höck
4c7d0db4bc
[ fix #1148 ] Support hyphenated package names ( #1151 )
2021-03-04 19:09:15 +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
Denis Buzdalov
7a8c12771b
[ base ] A property of interaction between zipWith
and index
( #1128 )
2021-03-01 08:29:17 +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
37cc095f7a
Merge github.com:idris-lang/Idris2 into versions
2021-02-27 18:00:18 +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
André Videla
aa27ccbdb6
Merge pull request #1097 from andylokandy/multiline
...
Implement multi-line string
2021-02-26 21:50:54 +00:00
Denis Buzdalov
9b5a773376
Double fixity/priority definition of >>
in a single file was removed
2021-02-26 14:20:49 +00:00
G. Allais
59de5f1326
[ fix #762 ] Different case tree building strategy ( #1125 )
2021-02-26 09:33:07 +00:00
claymager
33e336ad27
Give App1 implementation of (>>) ( #1122 )
2021-02-25 17:09:24 +00:00
Andy Lok
5fed5c2b7a
Merge branch 'master' of https://github.com/idris-lang/Idris2 into multiline
2021-02-25 19:52:42 +08:00
Denis Buzdalov
874496e1ae
[base] Constructor's injectivity proofs for Exists
and Subset
( #1118 )
...
Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
2021-02-24 19:11:41 +00:00
Denis Buzdalov
69be8f2102
[base] bimap
functions were added for dependent pairs.
2021-02-24 16:41:33 +00:00
G. Allais
d2eeb7ce86
[ fix #758 ] desugar non-binding sequencing in do blocks to (>>) ( #1095 )
2021-02-24 11:07:16 +00:00
Mark Barbone
0f7fa149c7
Make zip
infixr 6
2021-02-23 10:54:28 +00:00
Denis Buzdalov
95af3cf4be
More compose instances and one usage of them ( #1089 )
2021-02-23 10:53:43 +00:00
Guillaume ALLAIS
00067e8151
[ fix #637 ] force indentation after a with
2021-02-23 10:52:22 +00:00
Dong Tsing-hsuen
505224e9fc
[ typo ] Enum -> Range ( #1099 )
2021-02-22 10:05:08 +00:00
Donovan Crichton
1b9a220c42
Added comment descriptions for FC and FilePos.
2021-02-22 09:55:34 +00:00
G. Allais
74b051589b
[ new ] Perfect binary trees ( #1063 )
2021-02-22 09:54:16 +00:00
G. Allais
30d402ed7f
[ fix #899 ] Be careful when generating an impossible LHS ( #1081 )
2021-02-22 09:53:30 +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