Ruslan Feizerahmanov
1d99a28176
Add Bifunctor interface ( #701 )
2020-09-30 10:51:07 +01:00
russoul
af62955e07
Merge branch 'master' of https://github.com/idris-lang/Idris2 into master
2020-09-29 12:58:28 +03:00
Niklas Larsson
5bbbfaf225
Merge pull request #709 from melted/unix_lib
...
Put the appdir first in LD_LIBRARY_PATH
2020-09-28 21:54:25 +02:00
Niklas Larsson
d5393b93bd
Put the appdir first in LD_LIBRARY_PATH
...
So that we prefer the local support lib before others in the path.
2020-09-28 21:02:48 +02:00
MarcelineVQ
3f105cdc0f
revert binary character literal
...
this wasn't doing anything anyway as it's first handled while
escaping in src/Parser/Support.idr and ends up clashing with \b
2020-09-28 13:25:03 +01:00
G. Allais
3df1f9c476
[ fix #63 ] interleaving let binders and local declarations ( #691 )
2020-09-28 13:15:22 +01:00
Guillaume ALLAIS
416b9578e5
[ fix #37 ] Use filename if we already know it
2020-09-24 15:56:23 +01:00
Guillaume ALLAIS
0d08c0b81b
[ log ] for desugaring of idioms
2020-09-24 15:27:40 +01:00
MarcelineVQ
961a28ee64
fix idiom brackets to account for IAlternative
...
Things like (,) () aren't straightforward IVar's but are IAlternative's
which present options about how the term should resolve. [| |] was not
accounting for this.
2020-09-24 15:27:40 +01:00
MarcelineVQ
315fc8ce2d
change ForeignFn to use TTImp to match RawImp version
2020-09-24 09:00:00 +01:00
Guillaume Allais
6d8bd62795
[ cleanup ] we only need one ifThenElse
2020-09-23 22:20:45 +01:00
Guillaume ALLAIS
cc31076849
[ test ] more corner cases
...
Making sure the test can distinguish between truncating & rounding.
2020-09-23 19:48:58 +01:00
Guillaume ALLAIS
621a9202ed
[ test ] making sure cast works
2020-09-23 19:48:58 +01:00
russoul
883a8df429
Fix String->Int cast on Scheme backends
2020-09-23 19:48:58 +01:00
Christian Rasmussen
091465525b
Remove FArgList
2020-09-23 18:33:19 +01:00
Brandon Elam Barker
9aefc9f60c
Updating info about backends in FAQ
2020-09-23 18:32:46 +01:00
G. Allais
d105dd11a7
[ breaking ] remove List1 related ambiguities ( #690 )
2020-09-22 15:07:40 +01:00
Jan de Muijnck-Hughes
8adfefa4e5
Added some logging information to the totality checker. ( #679 )
2020-09-22 12:44:13 +01:00
Ohad Kammar
e77b9b4631
[minor] Make base/Data.Nat.divNatNZ
compile-time reducible ( #689 )
...
Co-authored-by: Ohad Kammar <ohad.kammar@ed.ac.uk>
2020-09-22 09:53:05 +01:00
MarcelineVQ
c4abdb4480
add Semigroup for Ordering and a -> b
...
useful items for applying multiple predicates, e.g.
sortBy (comparing length <+> compare)
To sort some lists elements by length and then lexographically
2020-09-21 08:07:21 +01:00
Matus Tejiscak
cf45f43f4e
Move the Buffer struct back into the .c file.
2020-09-20 17:49:25 +02:00
Christian Rasmussen
9add729ca3
Add Data.String.Iterator implementation for JavaScript
2020-09-20 17:44:19 +02:00
Matus Tejiscak
0a203f8f52
Add a warning comment.
2020-09-20 17:42:50 +02:00
Matus Tejiscak
b58cc433c8
Index StringIterator with the String it refers to.
2020-09-20 10:36:04 +02:00
Matus Tejiscak
d26a9c55bf
Tune Data.String.Iterator.
2020-09-20 10:02:18 +02:00
Matus Tejiscak
f73fa55075
Unpack strings into a lazy list.
2020-09-19 22:48:45 +02:00
Matus Tejiscak
e36c211cc0
Add a missing covering
annotation.
2020-09-19 21:57:54 +02:00
Matus Tejiscak
74f592053e
Make StringIterator abstract.
2020-09-19 21:54:34 +02:00
Matus Tejiscak
e73c6ae3c6
Add comments to fastUnpack and fastConcat.
2020-09-19 19:19:09 +02:00
G. Allais
8d09ec9c93
[ new ] comma-separated interface parameters ( #682 )
2020-09-19 15:29:23 +01:00
G. Allais
3008c48f77
Adding a whole bunch of tuple sections ( #680 )
2020-09-19 14:51:57 +01:00
Matus Tejiscak
7b2d1190a1
Make the comments more explicit.
2020-09-19 15:22:29 +02:00
Matus Tejiscak
bdcb2551b2
Change the way of creating directories.
2020-09-19 15:09:26 +02:00
Matus Tejiscak
f3984fff46
Remove more redundancy.
2020-09-19 14:57:45 +02:00
Matus Tejiscak
63c3ebf124
Remove ambiguities.
2020-09-19 14:46:12 +02:00
Matus Tejiscak
5f9c94a4e1
Fix access modifiers of fastUnpack and fastConcat.
2020-09-19 14:43:08 +02:00
Matus Tejiscak
76c3c3f8e8
Update the Scheme support code.
2020-09-19 14:36:57 +02:00
Matus Tejiscak
38a3145e8e
Make the C code more explicit.
2020-09-19 14:32:45 +02:00
Matus Tejiscak
2c7c603f02
Update the idris2 source.
2020-09-19 14:26:34 +02:00
Matus Tejiscak
5360adcc23
String-related stdlib tweaks.
2020-09-19 14:22:54 +02:00
Matus Tejiscak
cf6530b387
Install headers for libidris2_support, use the right mode.
2020-09-19 14:11:12 +02:00
Guillaume ALLAIS
09f418f250
[ admin ] removing useless import
2020-09-16 15:45:16 +01:00
Guillaume ALLAIS
2bb95e59ef
[ re #660 ] eta-contract parameter candidates
2020-09-16 15:45:16 +01:00
Guillaume ALLAIS
88c4b4d02f
[ new ] mapTermM and mapTerm
2020-09-16 15:45:16 +01:00
Guillaume ALLAIS
1152aa3cdd
[ re #660 ] inline lets when detecting parameters
2020-09-16 15:45:16 +01:00
Guillaume ALLAIS
644495f097
[ debug ] logging for datatype parameters
2020-09-16 15:45:16 +01:00
Guillaume ALLAIS
364ff73a1f
[ refactor ] split up Core.Context
...
`Core.Context` is 2k+ LoC and contains a *lot* of different thins.
Rather than moving the `log` functions above of `addData` to be able
to add logging there, fork them off to independent files to make the
whole thing more readable.
2020-09-16 15:45:16 +01:00
Giuseppe Lomurno
98e54cea2f
Missing runElab decl check
2020-09-16 12:06:38 +01:00
Chetan Taralekar
3c24bc5ed5
Fix ide mode repl not converting escaped characters ( #665 )
2020-09-16 10:55:44 +01:00
MarcelineVQ
ea0df039fe
change runReader's to take state first to allow easier use
...
following up on the change made in 5c76053cf3
to encourage people to do it in this manner going forward
2020-09-15 22:46:07 +01:00