Commit Graph

18 Commits

Author SHA1 Message Date
Edwin Brady
43127b17a7 Move Fin, Vect and So from prelude to base
They can be imported from the modules Data.Fin, Data.Vect, and Data.So
respectively.

The general thinking here is that not every program is going to need
these, and they are often used especially by newcomers in place of
something more appropriate. Also, all of them are useful for teaching,
which means it is instructive for tutorials to introduce them and have
people implement them themselves.
2014-12-31 20:18:02 +00:00
Edwin Brady
1d2fc7f8e0 Categorise tests 2014-01-30 17:24:08 +00:00
Edwin Brady
fef1207326 Make note of unapplied unifiation solutions
i.e. when an argument is given explicitly, but can be solved by
unification, make sure that the given argument and the inferred argument
themselves unify. Keep track in the ProofState structure, and unify when
'solve' tactic is applied for the given hole.

Fixes #765
2014-01-09 17:10:48 +00:00
Melvar Chen
848d5b9b81 Adjust tests to the changed String show instance 2013-11-25 18:10:46 +01:00
Markus Pfeiffer
b36dfcd62b Reset test runscripts to mode 0755 2013-11-18 22:36:55 +00:00
Markus Pfeiffer
3558c7c29f Change from shebangs with absolute references to using /usr/bin/env 2013-11-18 17:10:00 +00:00
George Leontiev
3c32b65e24 Whitespace cleanup. 2013-11-01 14:33:45 +01:00
Edwin Brady
61d39dabbf Swapped Vect arguments
So now nicer to write type class instances for Functor, Applicative, etc
2013-07-27 14:32:05 +01:00
raichoo
2311d55013 rename O into Z 2013-07-26 21:05:47 +02:00
Benjamin Saunders
f2f0e07054 Default to Integer instead of Int, and adjust fromInteger accordingly 2013-06-20 08:35:56 -07:00
Jan Bessai
a567873d1f Proper executable and object file creation via maven + need for run_java tests removed 2013-03-16 18:11:25 +01:00
Jan Bessai
89a055ea0e Merge branch 'master' of http://githib.com/edwinb/Idris-dev 2013-03-15 19:42:57 +01:00
Edwin Brady
3fc67a2f0e Fix error with linearity checking in patterns 2013-03-13 12:16:21 +01:00
Jan Bessai
1b46872756 Added compile flag support to deactivate creation of the java backend 2013-03-13 02:26:06 +01:00
Jan Bessai
43056d675d Backend support for Java 2013-03-11 19:48:01 +01:00
Edwin Brady
8f763157fe Changed approach to unification
Instead of failing immediately, maintain a list of blocked problems and
refine during elaboration.
2013-02-01 10:38:01 +00:00
Edwin Brady
cc716d7884 Make 'Type' the type of types instead of Sets
...after mailing list discussion
2012-12-11 23:02:17 +00:00
Edwin Brady
2856967816 Normalise LHS before compilation
...otherwise in some situations the forcing optimisation may lead
to uncompilable code
2012-11-21 16:32:18 +00:00