Guillaume ALLAIS
3c0ff432bd
[ cleanup ] redundant parens, language keyword
2020-12-08 13:07:53 +00:00
Guillaume ALLAIS
243ed5df2c
[ cleanup ] remove trailing "pure ()"
2020-12-08 13:07:53 +00:00
Guillaume ALLAIS
39f26e7ed6
[ minor ] avoid repetition
2020-12-08 13:07:53 +00:00
Guillaume ALLAIS
f8c248dc7a
[ refactor ] introduce Core.update
2020-12-08 13:07:53 +00:00
Guillaume ALLAIS
e5c6dfac5b
[ refactor ] remove toString, natMinus
...
* toString is an inefficient fastPack
* natMinus is an inefficient minus (we have already checked isLTE)
2020-12-08 13:07:53 +00:00
Guillaume ALLAIS
98674fc40a
[ cleanup ] use pattern-matching binds in monadic code
2020-12-08 13:07:53 +00:00
Denis Buzdalov
a1b624a3bc
Tiny fix of the formatting in the recently added documentation.
2020-12-08 08:56:38 +00:00
Mathew Polzin
1ed79cd7ed
got it finding some things by type. can't deal with out-of-order implicits yet.
2020-12-07 19:12:43 -08:00
Fabián Heredia Montiel
87358f19da
Increase timings of concurrency tests due to flaky windows runs
2020-12-07 21:20:09 +00:00
Ruslan Feizerahmanov
1dba32a0c4
[ doc ] new application syntax ( #820 )
2020-12-07 18:59:49 +00:00
Jan de Muijnck-Hughes
3a6e779acf
Extended Literate support to include LaTeX.
2020-12-07 14:54:35 +00:00
Jan de Muijnck-Hughes
9c5198cde3
Fixed docs and improved Literate mode.
...
+ Expanded the documentation on how to use literate modes.
+ Added invisible code blocks in Markdown using specially tagged comment blocks: `<!-- idris -->`.
+ Fixed OrgMode specificaton to recognise comment blocks properly.
2020-12-07 14:54:35 +00:00
Nicolas A. Schmidt
ef6cbcf658
Auto-implicit __con
now added before implicits. ( #659 )
2020-12-07 11:41:47 +00:00
Denis Buzdalov
b3542d66fc
Have lambda-case available everywhere lambda is ( #819 )
2020-12-07 11:34:48 +00:00
Guillaume ALLAIS
d30e984137
[ debug ] Give the option to log off
2020-12-07 11:33:37 +00:00
David Smith
c6abab438c
export a function to parse ipkg files ( #822 )
2020-12-07 10:53:01 +00:00
Andy Lok
9f72a514f1
Rename startWith to isBaseOf
2020-12-07 15:26:00 +08:00
Andy Lok
5578761bdb
Improve splitPath
2020-12-07 05:19:53 +08:00
Andy Lok
d3a74e0199
Update document
2020-12-07 04:27:54 +08:00
Andy Lok
f5e0853264
Refactor Utils.Path
2020-12-07 04:16:28 +08:00
Andy Lok
8eea90527a
Refactor System.Path
2020-12-07 04:10:15 +08:00
Edwin Brady
63a46722ef
Force/Delay need to be inlined in Builtins
...
Otherwise (especially in the case of delay) the argument might be
evaluated prematurely.
2020-12-06 20:00:48 +00:00
Andor Penzes
aeab632c7e
[doc] JS FFI examples.
2020-12-06 19:07:34 +00:00
Andy Lok
9e22a6e07b
Add javascript FFI for fastUnpack
( #816 )
2020-12-06 09:54:58 +00:00
Edwin Brady
22a534f400
Elaborate implementations in the right environment
...
This involves a small extension to IPragma, because to properly
elaborate names in a local scope we need to know which names are defined
in that scope so that they get applied to the environment when needed.
This means we can now define implementations of interfaces locally (but
there's still some work to do, because we don't yet have a way of
applying locally defined hints in auto search. It's coming soon!)
2020-12-05 20:53:03 +00:00
Denis Buzdalov
13cc27da1f
An alternative (Fin-based) indexing function was added for lists.
2020-12-04 19:09:05 +00:00
Denis Buzdalov
4364793484
Type definition from Decidable.Equality
was moved to a separate module
...
This is done to make able for `Data.*` modules of datatypes declared in
prelude to import modules that have their own definitions of `DecEq`
inside them (i.e. modules of datatypes declared in the `base`).
2020-12-04 19:09:05 +00:00
Edwin Brady
bfea7d785a
Merge pull request #766 from mokshasoft/gambit-cg
...
Gambit cg
2020-12-04 15:51:22 +00:00
Edwin Brady
778d6026e5
Merge pull request #607 from Russoul/record-init
...
New syntax for named applications and "record" updates
2020-12-04 11:35:05 +00:00
Denis Buzdalov
f2596318e5
Proof of list bounds was made to be not present at runtime when indexing
2020-12-04 11:26:11 +00:00
Fabián Heredia Montiel
57a8ef4609
Implement Futures as a Parallelism Primitive ( #753 )
...
Co-authored-by: Christian Rasmussen <christian.rasmussen@me.com>
2020-12-04 10:58:26 +00:00
Mathew Polzin
9bbbe927f0
just putzing around still but I managed to get some looking up to work just by filtering the list of all global defs.
2020-12-03 23:15:59 -08:00
Mathew Polzin
35a50480f4
Merge branch 'master' into scratch-work-search-repl
2020-12-03 17:34:19 -08:00
Jonas Claesson
924166a911
Add GAMBIT_GSC_BACKEND and C directive to Gambit docs
2020-12-03 18:02:54 +01:00
russoul
46519237cd
Merge
2020-12-03 15:28:20 +03:00
Edwin Brady
2e6aa126a4
Merge pull request #750 from ska80/refc-sysos
...
[refc] Update 'sysOS' to recognize more BSD flavors
2020-12-03 11:59:33 +00:00
Edwin Brady
b244d26cd1
Merge pull request #731 from rbarreiro/issue_596
...
adds mutual recursion optimisation to the javascript backend
2020-12-03 11:48:44 +00:00
Guillaume ALLAIS
e9126aafd8
[ doc ] :browse made aware of namespace nesting
2020-12-02 20:38:32 +00:00
Andor Penzes
a5a5d89d0c
Resolves #804
...
Introduces parenthesis around parts of let expressions and closes
parenthesis for the case expression.
2020-11-29 22:30:48 +00:00
Mathew Polzin
6ca03acd71
Add replaceWhen
for lists. ( #755 )
2020-11-27 19:10:08 +00:00
G. Allais
502f544d73
[ fix #775 ] integerToNat is not, in fact, id ( #799 )
2020-11-27 18:48:19 +00:00
Giuseppe Lomurno
c82e2393d4
Test templates ( #585 )
...
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
2020-11-27 15:40:02 +00:00
G. Allais
5e799563fa
[ contrib ] adding Data.Container ( #781 )
2020-11-27 15:29:19 +00:00
Kamil Shakirov
127db79a6b
Require all definitions to be total in tests/typedd-book/chapter11/ArithCmdDo.idr
2020-11-27 11:59:30 +00:00
Alex Humphreys
71a638ef28
Add extra parsers
...
This also changes the return type of `char` and `string`. They
previously returned `()`, they now return `Char` and `String`
repectively.
Signed-off-by: Alex Humphreys <alex.humphreys@here.com>
2020-11-27 11:54:12 +00:00
Guillaume ALLAIS
c3082d8465
[ re #524 ] Debug + positivity check
2020-11-27 09:29:44 +00:00
Rui Barreiro
910711afe9
prim void to js codegen ( #782 )
...
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
2020-11-26 16:50:08 +00:00
Yu Zhang
08a35d694c
Improving error messages ( #786 )
...
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
2020-11-26 11:35:55 +00:00
Denis Buzdalov
60c8695a6d
Editor was made run apostrophe-containing modules from REPL normally.
2020-11-26 11:17:36 +00:00
Denis Buzdalov
9990b5ad29
Namespaces were shadowed in all standard codegens.
...
This allows, for exmaple, to have apostrophes in module names.
Test was added only for chez, however this should be viable for all
targets with `:exec` implemented.
2020-11-26 11:17:36 +00:00