Commit Graph

737 Commits

Author SHA1 Message Date
Edwin Brady
aa3f4eb0be
Merge pull request #15 from ska80/fix-install-exec
Fix makefile's 'install-exec' target
2019-07-17 10:49:49 +01:00
Edwin Brady
ec4d498b2a
Add note about needing Idris master to README
A few people have reported issues that this won't build with Idris 1.3.1, which it won't. There's a note in INSTALL.md, but it's clearly not prominent enough! I will do a new release soon, but it does take time to do it properly!
2019-07-17 10:46:28 +01:00
Arnaud Bailly
3520f7d6fe
allow running IDE mode on different network interfaces 2019-07-16 16:34:57 +02:00
Alex Gryzlov
8e37fe697a blodwen -> idris2 2019-07-15 14:37:05 +03:00
Alex Gryzlov
4d3b42747c add --clean option for ipkg 2019-07-15 14:36:54 +03:00
Kamil Shakirov
85a1f9becc Fix makefile's 'install-exec' target 2019-07-15 12:42:54 +06:00
Edwin Brady
0d5dc8cc26 Check delay is allowed before delaying
We can't nest delayed elaborators (this is an efficiency constraint, to
prevent excessive searching for ambiguous names) to run elaborator
immediately if delays aren't allowed in delayElab
2019-07-14 11:23:58 +01:00
Edwin Brady
a9895771ab
Merge pull request #9 from diakopter/patch-1
install target depend on all target
2019-07-13 10:17:56 +01:00
Matthew Wilson
8167197a4b
idk 2019-07-12 07:06:25 -04:00
Matthew Wilson
b7a11bd22c
enable install-libs workflow and the typical install behavior 2019-07-12 07:04:36 -04:00
Edwin Brady
9f94606037 Finish Chapter 12 tests 2019-07-12 09:34:29 +02:00
Edwin Brady
39ee4ad9c8 Numeric range syntax 2019-07-12 09:32:36 +02:00
Edwin Brady
865f4380ca Merge branch 'master' of github.com:edwinb/Idris2 2019-07-12 09:03:30 +02:00
Edwin Brady
d969a6f356
Merge pull request #10 from diakopter/patch-2
typo? in TypeDD
2019-07-12 09:03:26 +02:00
Matthew Wilson
77c0d7c3e5
typo? in TypeDD 2019-07-11 23:14:08 -04:00
Matthew Wilson
8f4c35a7b5
install target depend on all target 2019-07-11 22:44:21 -04:00
Edwin Brady
4860d2b751 Add Range interface to prelude
This is part of what we used to have in Enum but I think it's better to
separate the two. Added implementations for Nat, and anything in
Integral/Ord/Neg, so that we get range syntax (at least when its
implemeted) for the most useful cases.
2019-07-11 23:38:25 +02:00
Edwin Brady
1cf9849a55 Add the bits of Chapter 12 that work
Still need enumeration syntax for the rest
2019-07-10 20:22:00 +02:00
Edwin Brady
fd4f90e331 Add some Control.Monad things
This required a small change to auto implicit search (and I'm still not
sure about this). Now search arguments right to left, because solving
later arguments may resolve earlier arguments by unification and this
can happen in particular when chasing parent interfaces (which may have
fewer parameters).
2019-07-10 20:18:40 +02:00
Edwin Brady
4fffea482b Tweak to auto search errors
Take the earliest failure message, since they'll typically be more
precise (later search groups being for chasing parent interfaces and
defaults). This is mostly as a heuristic to help show whether one part
of a pair failed in implicit search.
2019-07-10 19:12:13 +02:00
Edwin Brady
9f6a3fd2b8 Fix in scheme backend and test script
At least on Linux, \r needs to be in singles quotes as an argument to tr
or it removes all the 'r' instead! Hopefully it also works this way on
Windows...
2019-07-10 17:23:45 +02:00
Edwin Brady
a422294f36 Pass auto implicits through interfaces
This allows 'traverse' to work now (it was treating them as normal
implicits, so building the wrong form of application)
2019-07-10 17:23:33 +02:00
Edwin Brady
e5a71e758a Add records in their own namespace
These are 'nested' namespaces which are a bit special in that even
private names are visible from the enclosing namespace. This gets the
behaviour for record visibility from Idris 1.
2019-07-10 16:55:28 +02:00
Edwin Brady
1119c089bf Don't pass let bound things to with function
These are let bound things in the local environment, which could happen
if the with clause is in a where block.
2019-07-10 16:55:28 +02:00
Edwin Brady
046498f926
Merge pull request #5 from abailly/master
Add note on multithreading configuration when installing Chez Scheme
2019-07-10 16:06:17 +02:00
Arnaud Bailly
56b626e42e
Merge branch 'master' of github.com:abailly/Idris2 2019-07-10 15:21:21 +02:00
Arnaud Bailly
03ef5eda89
add note on multithreading support in Chez Scheme fix #3 2019-07-10 15:18:45 +02:00
Edwin Brady
c208bf0592
Merge pull request #4 from melted/win-support
windows support
2019-07-10 12:07:47 +02:00
Niklas Larsson
28438650d0 windows support 2019-07-10 01:51:41 +02:00
Edwin Brady
85274107ae Remove out of date samples 2019-07-09 13:31:25 +02:00
Edwin Brady
c0ef32d60f
Merge pull request #1 from asandroq/add_gitignore
Add `.gitignore` file
2019-07-09 10:42:08 +02:00
Alex Silva
8c68ed9f79 Add .gitignore file
This change adds the top-level "ignore" file for build artifacts.
2019-07-09 09:49:02 +02:00
Edwin Brady
38443e23a3 Need to build 'libs' before running tests 2019-07-09 09:31:35 +02:00
Edwin Brady
2487c30232 Adding missing test files 2019-07-09 09:22:50 +02:00
Edwin Brady
8a1a4ad56d
Update README.md
Fix typo
2019-07-09 00:05:01 +02:00
Edwin Brady
8c86f6bb85 Remember to add the LICENSE
Ahem. If you're going to make it public, it's probably a good idea :).
2019-07-09 00:00:25 +02:00
Edwin Brady
3e5b882569 Some more contribution notes 2019-07-08 23:48:39 +02:00
Edwin Brady
2bb496f74b Chapter 11 examples now working 2019-07-08 23:46:20 +02:00
Edwin Brady
11560a5c82 Make 'with' work in where blocks
Need to set up nested names appropriately for the with function so that
the environment gets passed through correctly, and use abstractEnvType
to get the type of the with function rather than simply binding the
environment as is.
2019-07-08 23:05:04 +02:00
Edwin Brady
1cc097aefc Add Data.Primitives.Views 2019-07-08 22:11:34 +02:00
Edwin Brady
13520165e9 Only add a force on function types
If it's not a function type, we're done, so no need to force.
2019-07-08 21:55:45 +02:00
Edwin Brady
2967a19963 Add more stream functions to Data.Stream 2019-07-08 18:10:47 +02:00
Edwin Brady
9740438319 Small improvement in error messages
Show MNs as "implicit" names rather than showing the internal name in
full
2019-07-08 14:11:54 +02:00
Edwin Brady
164a0a60cf Add Chapter 10 TypeDD tests
A lot to change here! To be honest, this chapter probably needs a
complete revision...
2019-07-08 13:04:39 +02:00
Edwin Brady
11199acab6 Improve 'with' implementation
Now supports with applications on the RHS when auto implicits are
involved. Auto implicit bound names in patterns now become searches on
the rhs in a with-application (I should write this construct up properly
in a paper some time!)
2019-07-08 12:55:55 +02:00
Edwin Brady
51c406ff7d Deal with non-existent files more gracefully
So now you can start idris2 with a non-existent file and use :e to start
editing it
2019-07-07 13:10:14 +01:00
Edwin Brady
ccc53813ca Initial attempt at RHS with application
Still some details to finish, plus testing, plus adding View modules to
the base libraries, but the basic idea works.
2019-07-07 00:07:59 +01:00
Edwin Brady
fc224b1450 Fix Total004 test
Names in Data.List clashed
2019-07-06 15:55:47 +01:00
Edwin Brady
62382dcd96 Change fields in ElabInfo
We don't use level, so remove it. Added a field bindingVars which
records whether implicit names should be bound if unsolved. This needs
to be separate from the elaboration mode because we might encounter new
holes inside dot patterns which are matched elsewhere.
2019-07-06 13:57:20 +01:00
Edwin Brady
c02da23c1a Add sort and merge to Data.List 2019-07-06 13:56:57 +01:00