Denis Buzdalov
5d70c746b1
[ prelude ] Implement Semigroup
for ordinary pairs
2021-09-03 18:00:03 +01:00
Guillaume ALLAIS
257783275e
[ new ] --total cli flag
2021-09-03 12:07:29 +01:00
Guillaume ALLAIS
b35e54829d
[ cleanup ] use whenJust
2021-09-03 12:07:29 +01:00
Denis Buzdalov
d62e45d8d8
[ contrib ] Make sorted map be able to store dependently typed values
2021-09-02 10:57:19 +01:00
Stefan Höck
031508a790
[ performance ] Common subexpression elimination ( #1869 )
...
* [ wip ] common subexpression elimination
* [ performance,js ] lazy initialization
* [ fix ] return filtered usage map
* [ doc ] annotated Compiler.Opts.CSE
* [ doc ] some more code annotations
* [ doc ] fix typo
* [ doc ] of course I had some help
* [ wip ] CSE optimize additional IRs
* [ performance ] allow lazy thunks to be garbage collected
* [ fix ] added GlobalDefs for extracted sub expressions
* [ cleanup ] pass compiled defs around explicitly
* [ cleanup ] dont cse-analyze main expression twice
2021-09-02 06:47:35 +01:00
withoutK
abd0552526
[ docs ]: fix typo ( #1893 )
...
[ci: skip]
2021-09-01 21:06:29 +01:00
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