Guillaume ALLAIS
1d1c428805
[ re #1828 ] test case
2021-09-01 11:32:51 +01:00
Guillaume ALLAIS
a7d73d0d3d
[ new ] ellipses for with patterns
...
Rather than Agda's `...` we use the common symbol for "I don't care": `_`.
2021-08-31 22:50:46 +01:00
Guillaume ALLAIS
9498f44603
[ fix ] Parse let _ =
as Let rather than LetPat
2021-08-31 22:50:22 +01:00
Guillaume ALLAIS
d289ed653d
[ fix #1887 ] Parse _ <-
as DoBind instead of DoBinPat
2021-08-31 22:50:22 +01:00
Kamiλ Shakirov
2428b356f4
[ install, docs ] Add a new makefile target to install libdocs ( #1884 )
2021-08-31 18:41:03 +01:00
Guillaume Allais
0e4168edbf
[ ci ] ignore Release/ for idris2 builds
2021-08-31 13:56:45 +01:00
Kamil Shakirov
bd94b91615
mkdist.sh
script cleanup
...
Since Travis CI is no longer used.
2021-08-31 13:56:45 +01:00
Mathew Polzin
ef91cc01c7
Add list difference to base Data.List module.
2021-08-31 13:21:43 +01:00
Kamil Shakirov
08d9e7d82c
[ install ] Install non-executable files with the executable flag off
2021-08-31 13:21:19 +01:00
Guillaume ALLAIS
79177a70ea
[ fix #1788 ] Only mention building using the previous version
...
We only ensure using CI that Idris can be built using the previous
released version so let's not claim in the docs you can use any old
one.
2021-08-30 17:11:17 +01:00
Stiopa Koltsov
126daf7c28
Remove DirInfo.error
...
The field is not used.
2021-08-30 17:08:15 +01:00
madman-bob
7a3d557bab
Add copyDir function ( #1805 )
...
Co-authored-by: Stiopa Koltsov <stepan.koltsov@gmail.com>
2021-08-30 16:42:58 +01:00
Joel Berkeley
078db21edf
Return a Vect from Stream take ( #1812 )
...
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
2021-08-30 16:00:20 +01:00
Mathew Polzin
cdc157a333
Add javascript support for getting system time as integer.
2021-08-30 15:35:49 +01:00
madman-bob
3e1f6aba56
Add copyFile to System.File ( #1797 )
...
Co-authored-by: Stiopa Koltsov <stepan.koltsov@gmail.com>
2021-08-30 15:31:37 +01:00
G. Allais
1e0027721f
[ fix #1859 ] Undo my mistakes ( #1866 )
2021-08-27 16:18:24 +01:00
Peter Hajdu
2d7ddc6e64
[ fix #472 ] Port doc about comments from Idris1
2021-08-27 14:58:35 +01:00
G. Allais
e2addcf27d
[ new ] semantic highlighting via the IDE mode ( #1868 )
2021-08-27 14:47:35 +01:00
loovjo
70ac0f4101
Specify libc-name for tarm64osx
2021-08-25 12:03:01 +01:00
Guillaume ALLAIS
99b005886f
[ fix ] invalid Cast instances
...
integerToNat is only equal to `believe_me` at runtime, not at compile
time. You'd believe it cannot be a problem given that the implementation
of `Cast` is not exported but the REPL reduces everything.
2021-08-25 12:02:04 +01:00
Stefan Höck
2465418610
[ fix ] fix #1839 ( #1857 )
...
* [ fix ] fix #1839
* [ test ] console width 0 in test
2021-08-24 15:43:22 +01:00
Niklas Larsson
a940c37742
Merge pull request #1858 from stefan-hoeck/browser_putStr
...
[ new ] support prim__putStr in browser backend
2021-08-24 11:58:48 +02:00
stefan-hoeck
ed9a21f6bc
[ new ] support prim__putStr in browser
2021-08-24 03:44:57 +00:00
Guillaume ALLAIS
4a9f00078a
[ close #1313 ] test case
...
This was fixed by, I believe, the addition of `withExtendedNS` in #1342
2021-08-20 16:47:59 +01:00
G. Allais
8d8a135237
[ fix #1496 , fix #1345 ] propagate lex & lit fails too ( #1850 )
2021-08-20 16:47:47 +01:00
Guillaume ALLAIS
1df84e8b5c
[ fix #1635 ] Show module docstring in HTML backend
2021-08-20 14:43:07 +01:00
Guillaume ALLAIS
e1bfaa7ae0
[ cleanup ] remove commented out code
...
I think I'm now happy with the doc-free `:browse`.
2021-08-20 14:43:07 +01:00
Guillaume ALLAIS
6f5e5da4f5
[ pretty ] cleaning up binder names
...
Rather than printing
map : {__con : Functor f} -> (a -> b) -> (f a -> f b)
we print
map : Functor f => (a -> b) -> (f a -> f b)
2021-08-20 14:43:07 +01:00
Guillaume ALLAIS
2f53e565a7
[ new ] semantic highlighting for the html backend
...
* Refactored the annotations to be more uniform
* KindedNames now carry both a fullName and a rawName
(useful in the HTML backend where we use the fullName for links)
* Removed the ad-hoc handling of qualified names in the html backend
2021-08-20 14:43:07 +01:00
Guillaume ALLAIS
089e2ec141
[ refactor ] introduce defNameType
2021-08-20 14:43:07 +01:00
Guillaume ALLAIS
58907de84b
[ new ] specify data/record/interface
2021-08-20 14:43:07 +01:00
Daniel Kröni
370a273b35
Inline Neg implementations
2021-08-17 19:34:52 +01:00
stefan-hoeck
1e8f9b3c36
[ fix ] export Show instance for Bounds
2021-08-15 08:49:19 +01:00
Denis Buzdalov
dd7d77d416
[ visibility ] Make Monad
of Vect
to the visible from outside
2021-08-13 18:59:54 +01:00
Denis Buzdalov
c29dc73c62
[ base ] Add semigroup and monoid instances for Vect
2021-08-13 18:59:54 +01:00
G. Allais
c1ebc0535d
[ new ] semantic highlighting in REPL & holes ( #1836 )
2021-08-13 16:00:54 +01:00
André Videla
82796b3936
print full names in linear checking
2021-08-12 14:14:44 +01:00
Denis Buzdalov
23bb381f0f
[ cleanup ] Small code cleanup, less mutual block and one \case
use
2021-08-12 12:38:06 +01:00
Denis Buzdalov
940f588890
[ ttimp ] Add a utility function returning an FC
by TTImp
2021-08-11 14:18:41 +01:00
Denis Buzdalov
c3398274d5
[ elab ] Add an ability to fail elab script with a custom FC
2021-08-11 14:18:41 +01:00
Denis Buzdalov
377b21e376
[ doc ] Remove trailing spaces from doc files
2021-08-11 12:50:02 +01:00
Denis Buzdalov
8fb18e24a1
[ fix ] Make standard monad transformer's Alternative be lazy on 2nd arg
2021-08-11 11:33:46 +01:00
Denis Buzdalov
99f1e11ddb
[ cleanup ] Slightly improve readability
2021-08-11 11:33:46 +01:00
Denis Buzdalov
9357d777f6
[ base ] Relax requirement of Alternative
implementation for ReaderT
2021-08-11 11:33:46 +01:00
G. Allais
21c6f4fb79
[ breaking ] remove parsing of dangling binders ( #1711 )
...
* [ breaking ] remove parsing of dangling binders
It used to be the case that
```
ID : Type -> Type
ID a = a
test : ID (a : Type) -> a -> a
test = \ a, x => x
```
and
```
head : List $ a -> Maybe a
head [] = Nothing
head (x :: _) = Just x
```
were accepted but these are now rejected because:
* `ID (a : Type) -> a -> a` is parsed as `(ID (a : Type)) -> a -> a`
* `List $ a -> Maybe a` is parsed as `List (a -> Maybe a)`
Similarly if you want to use a lambda / rewrite / let expression as
part of the last argument of an application, the use of `$` or parens
is now mandatory.
This should hopefully allow us to make progress on #1703
2021-08-10 19:24:32 +01:00
Niklas Larsson
c9f9e1e667
Merge pull request #1827 from buzden/fix-docs-linting
...
[ doc ] Hopefully fix the linting problem in the docs
2021-08-10 20:07:00 +02:00
Denis Buzdalov
150bffc307
[ doc ] Hopefully fix the linting problem in the docs
2021-08-10 15:11:32 +03:00
Mathew Polzin
590a9b15b3
Add a --list-packages
command to the idris2
executable ( #1824 )
2021-08-10 09:44:53 +01:00
Tim Engler
be37e5b458
Added "lookupBetween" "leftMost" and "rightMost" to Data.SortedMap
2021-08-10 09:42:53 +01:00
Denis Buzdalov
15ccebbcf2
[ contrib ] Implementation of Zippable
was added for Validated
2021-08-09 10:06:20 +01:00