Commit Graph

1120 Commits

Author SHA1 Message Date
Niklas Larsson
ca20213adf
Merge pull request #290 from ska80/cmd-default-host-port
Remove hardcoded default 'host' and 'port' parts from command-line he…
2020-06-14 12:03:01 +02:00
Niklas Larsson
3c42e0e83d
Merge pull request #299 from melted/debug_buf
Debug printing for buffers
2020-06-14 11:52:31 +02:00
Niklas Larsson
d79d1b5587 Align last row with ugly hack 2020-06-14 00:57:53 +02:00
Giuseppe Lomurno
6d531cd310 Remove todo 2020-06-13 23:52:54 +02:00
Niklas Larsson
0afd1eb3a2 Add character printing 2020-06-13 22:09:51 +02:00
Niklas Larsson
1227f2e8a1 Add buffer dumping 2020-06-13 21:57:20 +02:00
Giuseppe Lomurno
c995fe4a01 Merge remote-tracking branch 'upstream/master' into code-in-errors 2020-06-13 18:20:12 +02:00
Giuseppe Lomurno
778d930f95 Updated tests 2020-06-13 16:51:05 +02:00
Giuseppe Lomurno
7b903be9ed More precise token boundaries 2020-06-13 16:50:54 +02:00
Rui Barreiro
184dce2312 fixed my tests messup 2020-06-13 11:45:53 +01:00
Rui Barreiro
c015aa82b0 test node003 passes 2020-06-13 11:42:28 +01:00
Rui Barreiro
fa7b6f12d2 Merge branch 'master' of github.com:idris-lang/Idris2 into javascript 2020-06-12 21:43:09 +01:00
Rui Barreiro
33014403eb tests everywhere 2020-06-12 21:35:08 +01:00
Niklas Larsson
a33fc1ec16
Merge pull request #256 from vilunov/repl-package
"--repl" command for opening a REPL in a package
2020-06-12 17:50:50 +02:00
Niklas Larsson
232c69de0d
Merge pull request #245 from FrederikVigen/master
Added fix to recvAll that doesn't use signal (Left 0)
2020-06-12 17:50:05 +02:00
Tim Süberkrüb
30410eda52 Add fflush to Control.App.FileIO 2020-06-12 17:30:54 +02:00
Tim Süberkrüb
535918a3ac Deduplicate Control.App.FileIO 2020-06-12 17:30:54 +02:00
Tim Süberkrüb
e9a80891b7 Extend Control.App.FileIO 2020-06-12 17:30:54 +02:00
Alex Gryzlov
4fffdec6e8 Merge remote-tracking branch 'upstream/master' 2020-06-12 16:39:37 +02:00
Edwin Brady
6246b8d702
Merge pull request #292 from edwinb/linear-things
Some small linearity improvements, and linear arrays
2020-06-12 14:53:34 +01:00
Edwin Brady
84adbe6dc8 Be explicit about multiplicity in Array
The bootstrap version can't infer it!
2020-06-12 14:18:57 +01:00
Edwin Brady
c3c556f192 Merge https://github.com/idris-lang/Idris2 into linear-things 2020-06-12 14:16:01 +01:00
Edwin Brady
ec89b97896 Add note to CHANGELOG 2020-06-12 14:12:32 +01:00
Edwin Brady
1c576cb068 Add experimental support for linear arrays
Backed by Data.IOArray. Also moved the array external primitives to a
separate module Data.IOArray.Prims, since the next step is to add a
linear bounded array type where the bounds checks are done at compile
time, so we'll want to read and write without bounds likes.
2020-06-12 14:08:00 +01:00
Niklas Larsson
9e4c7c3019
Merge pull request #289 from jfdm/comment-out-unimplemented-proofs-from-data-nat
Remove unsolved holes from `base`.
2020-06-12 14:57:12 +02:00
Niklas Larsson
405ebd0095
Merge pull request #287 from jfdm/safe-indexing-of-lists
Safe indexing of lists
2020-06-12 14:56:57 +02:00
Edwin Brady
b2c7029b6b Improve inference of linearity in let
This involves a bit of backtracking in linearity checking, which I'd
prefer to avoid, but it won't hurt in the normal case. If checking a
binder fails due to linearity misuse, try again at linear multiplicity.
2020-06-12 13:47:15 +01:00
Jan de Muijnck-Hughes
da81146388 Remove unsolved holes from base.
Having unsolved holes in a 'core' library unneccessarily pollutes the list of holes shown to the user.
Thus, having unfilled holes in a 'core' library is not right.
These constructs can be re-added once the holes have been filled in.
2020-06-12 13:13:48 +01:00
Jan de Muijnck-Hughes
f7cf2dfb06 Ported safe indexing of Lists from Idris1 prelude. 2020-06-12 13:12:15 +01:00
Niklas Larsson
d86d96f35a
Merge pull request #291 from melted/fix_refl003
Fix overly nitpicky reflection test
2020-06-12 13:16:48 +02:00
Niklas Larsson
4b7fbb0371 Fix overly nitpicky reflection test
See #287
2020-06-12 12:46:19 +02:00
Edwin Brady
c9b20911e1 Add linear pair/dependent pair to the prelude
I'm playing with some linear structures and finding these useful a lot,
so good to have a consistent syntax for it. '#' is chosen because it's
short, looks a bit like a cross if you look at it from the right angle
(!) and so as not to clash with '@@' in preorder reasoning syntax.
2020-06-12 11:18:12 +01:00
Kamil Shakirov
658953681f Remove hardcoded default 'host' and 'port' parts from command-line help options 2020-06-12 16:12:33 +06:00
Niklas Larsson
49290e44be
Merge pull request #288 from ska80/cmd-default-gc
Remove hardcoded default CG from command line options
2020-06-12 12:06:28 +02:00
Kamil Shakirov
4d7e6eef6e Revert TTC changes 2020-06-12 15:36:38 +06:00
Kamil Shakirov
01c79f17d2 Change the TTC version 2020-06-12 15:31:48 +06:00
Kamil Shakirov
90997e9a22 Remove hardcoded default GC from command line options 2020-06-12 15:11:51 +06:00
Alex Gryzlov
cd443f24f6 various stdlib updates 2020-06-11 23:14:11 +02:00
Giuseppe Lomurno
e9d46a2650 Fixed tests 2020-06-11 22:46:36 +02:00
Giuseppe Lomurno
f85800fa76 Show code in errors 2020-06-11 22:46:24 +02:00
Kevin Boulain
c148003265 Fix MkRecord signature
Otherwise we'd get:
  When unifying Name and Maybe Name
  Mismatch between:
          Name
  and
          Maybe Name
  Can't reify as Decl
2020-06-11 21:54:40 +02:00
Niklas Larsson
7b7415a4e3
Merge pull request #280 from idris-lang/bootstrap_badge
Add badge for the bootstrap from Idris 1
2020-06-11 18:54:26 +02:00
Niklas Larsson
e91c33b31c
Add badge for the bootstrap from Idris 1 2020-06-11 18:53:19 +02:00
Niklas Larsson
9906cab7b6
Merge pull request #279 from melted/clean_buffer
Remove unused functions from idris_buffer.c
2020-06-11 18:23:15 +02:00
Niklas Larsson
aea0c1fd15 Remove unused functions from idris_buffer.c 2020-06-11 17:35:29 +02:00
Edwin Brady
361d2e4d88
Merge pull request #275 from idris-lang/issue-270
[ re #270 ] Mention the target type of the auto search
2020-06-11 16:14:16 +01:00
Edwin Brady
0a985a2815
Merge pull request #278 from edwinb/buffer-prims
Make buffers more primitive
2020-06-11 16:03:45 +01:00
Niklas Larsson
0a4667c589
Merge pull request #277 from melted/fix_autocrlf
Disable autocrlf on WIndows CI
2020-06-11 16:37:59 +02:00
Niklas Larsson
5858365f18 Disable autocrlf on WIndows CI 2020-06-11 16:25:48 +02:00
Edwin Brady
07ae16123c Only open in binary mode on windows 2020-06-11 14:53:54 +01:00