Commit Graph

989 Commits

Author SHA1 Message Date
Edwin Brady
f9318cf477 Correct note in CHANGELOG 2020-06-20 12:55:42 +01:00
Edwin Brady
d18aac7afd Move Data.ST to Control.Monad.ST
Seems a more appropriate place in the hierarchy (also roughly consistent
with where it is in Haskell base)
2020-06-20 12:51:38 +01:00
Edwin Brady
598f09be35 Check consructor names are not defined
We do this when elaborating the data type, but not when adding the
individual constructors, so weren't catching the case of repeated
constructors within the same type. Fixes #338
2020-06-20 12:40:44 +01:00
Niklas Larsson
89e3503ee1
Merge pull request #332 from cypheon/vmcode-constructor-names
VMCODE: Carry over required type names for named constructors without a tag
2020-06-20 11:44:49 +02:00
MarcelineVQ
a44c8ddd5a change how unelabBinder shows names
unelabBinder was losing information for the purpose of displaying names
nicely. This is typically wanted but when working with elabortation it's
useful to have all the information you can get. Things like record field
names would be lost when querying with GetType but are now retained.
2020-06-19 22:54:05 -07:00
Edwin Brady
ab03249d49 Add Data.STRef and a generic Ref interface 2020-06-20 00:46:20 +01:00
Rui Barreiro
525011eaff test node006 2020-06-19 17:00:59 +01:00
Denis Buzdalov
c121181776
Function mapping Not (x=True) to x=False was added for Bools (#322) 2020-06-19 11:13:13 +01:00
Kamiλ Shakirov
da0e056d7e
Add 'optional' command line options (#309) 2020-06-19 10:36:07 +01:00
Mark Barbone
59dceb857f Make reference and source agree about literate markdown 2020-06-19 10:08:47 +01:00
Johann Rudloff
d161281dea VMCODE: Carry over required type names for named constructors without a tag. 2020-06-19 07:38:43 +02:00
Niklas Larsson
1e780615b6
Merge pull request #330 from melted/fix_start_script
Fix windows script
2020-06-19 03:48:47 +02:00
Niklas Larsson
b593eb12d2 Fix windows script 2020-06-19 03:46:04 +02:00
Nick Drozd
028a1cb960 Cut some let bindings 2020-06-18 10:12:13 -05:00
Nick Drozd
d7ca30b710 Add Algebra interfaces and laws 2020-06-18 10:12:13 -05:00
Niklas Larsson
38b05a98d8
Merge pull request #329 from idris-lang/fix-racket-ci
Fix racket CI
2020-06-18 16:46:05 +02:00
Niklas Larsson
3e53551d8b
Fix racket CI 2020-06-18 16:00:26 +02:00
Niklas Larsson
649e1989e0
Merge pull request #326 from melted/win_clean
No need to check for BSD on Windows
2020-06-18 14:50:16 +02:00
Niklas Larsson
fbf4a667b1
Merge pull request #325 from ska80/fix-install-api
Fix 'install-api' makefile target
2020-06-18 14:19:39 +02:00
Niklas Larsson
69a716243c No need to check for BSD on Windows 2020-06-18 14:18:39 +02:00
Kamil Shakirov
9e42eb1be1 Fix 'install-api' makefile target
When building from a clean state `src/IdrisPaths.idr` must be generated first
before installing `idris2api.ipkg`.
2020-06-18 17:19:48 +06:00
Niklas Larsson
12957ea614
Merge pull request #324 from idris-lang/melted-patch-1
Mention custom codegens in the change log
2020-06-18 13:04:36 +02:00
Niklas Larsson
9ebe6c9cc7
Mention custom codegens in the change log 2020-06-18 12:30:35 +02:00
Nicolas Biri
c72cb849a8 Add missing modules in base.ipkg 2020-06-18 10:32:51 +01:00
Rui Barreiro
f8f09858e8 Merge branch 'master' of github.com:idris-lang/Idris2 into javascript 2020-06-17 23:48:39 +01:00
Rui Barreiro
cb7dc7bffc test node004 passes 2020-06-17 23:29:54 +01:00
Niklas Larsson
bd9498c003
Merge pull request #320 from melted/custom_conf
Use custom configuration from custom.mk if present.
2020-06-17 16:24:59 +02:00
Niklas Larsson
323ee196ec
Merge branch 'master' into custom_conf 2020-06-17 15:26:08 +02:00
Niklas Larsson
0d52b194b5
Merge pull request #319 from ska80/openbsd
Add support for OpenBSD
2020-06-17 15:25:12 +02:00
Niklas Larsson
b92270125c Use custom configuration from custom.mk if present. 2020-06-17 14:31:17 +02:00
Kamil Shakirov
52cdc7a26f Do not supply already exported variables to bootstrap scripts 2020-06-17 18:22:09 +06:00
Kamil Shakirov
fdb106a787 Pass MAKE variable 2020-06-17 15:48:18 +06:00
Kamil Shakirov
4ca80ab7b0 Refactor bootstrap scripts 2020-06-17 15:43:50 +06:00
Kamil Shakirov
4f0c262ddc Add support for OpenBSD
and probably for other *BSD operating systems with minor tweaks
2020-06-17 15:14:54 +06:00
Ohad Kammar
9f643a2243 minor: fix spaces/alignment
Thanks @gallais
2020-06-16 20:36:15 +01:00
Ohad Kammar
87d4411709 Merge branch 'master' of github.com:idris-lang/Idris2 into fancy-preorder-reasoning 2020-06-16 20:10:21 +01:00
Ohad Kammar
96cd878a3f Speed-up (hopefully) Syntax.PreorderReasoning syntax from contrib 2020-06-16 20:09:31 +01:00
Giuseppe Lomurno
cd1730f0ab Add module REPL command 2020-06-16 17:29:10 +02:00
Niklas Larsson
452eaaf2b9
Merge pull request #310 from chrrasmussen/replace-ffi-in-hex-function
Replace FFI implementation of 'hex' function with a plain Idris version
2020-06-16 14:42:48 +02:00
Niklas Larsson
4c6670966d
Merge pull request #312 from ska80/support-chez
Update Chez support for *BSD operating systems
2020-06-16 14:40:45 +02:00
Niklas Larsson
f04af3dd56
Merge pull request #313 from melted/fix_setenv
Fix setenv and unsetenv
2020-06-16 14:39:53 +02:00
Niklas Larsson
0c7fc9b73c simplify win32_modenv 2020-06-16 14:09:12 +02:00
Niklas Larsson
2e8f618f00 Apparently overwrite should report success 2020-06-16 14:02:04 +02:00
Niklas Larsson
24715a8fd0 Overwrite should be true in the first call
In case anybody has that defined in their environment.
2020-06-16 13:48:31 +02:00
Niklas Larsson
8540728202 Handle overwrite on windows
Expand test to test overwrite
2020-06-16 13:44:10 +02:00
Niklas Larsson
8633dde240 Add stdlib include 2020-06-16 12:53:36 +02:00
Niklas Larsson
6974b318a3 Add test for setenv and unsetenv 2020-06-16 12:36:39 +02:00
Niklas Larsson
630e4219fc Fix unsetenv
implement Windows support
2020-06-16 12:09:22 +02:00
Kamil Shakirov
24226edc83 Update Chez support for *BSD operating systems 2020-06-16 16:03:38 +06:00
Niklas Larsson
1008dae9bc
Merge pull request #303 from melted/other_codegen
Implement support for other codegens via the Idris2 API
2020-06-16 01:57:40 +02:00