Commit Graph

9 Commits

Author SHA1 Message Date
Andreas Reuleaux
62419f47ad set console width / adjust tests by using --consolewidth to make them work with the curses flag 2015-03-19 11:50:39 +00:00
David Raymond Christiansen
a39fef32c1 Merge branch 'fix/print-semantics' of https://github.com/jfdm/Idris-dev into jfdm-fix/print-semantics
Conflicts:
	CHANGELOG
2015-03-17 11:10:05 +01:00
Edwin Brady
179c704362 Record provenance of types in 'fill' errors
This covers unification errors arising from variables and function
applications (which is a lot of them)
2015-03-16 18:27:19 +00:00
Jan de Muijnck-Hughes
5ea6aa0520 Address semantic differences in putting things to STDOUT.
The changes are as follows:

+ `print` is for putting showable things to STDOUT.
+ `printLn` is for putting showable things to STDOUT with a new line
+ `putCharLn` for putting a single character to STDOUT, with a new line.

Effects has been updated accordingly.
2015-03-06 17:26:33 +00:00
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
Ben Sherman
ed8198032c Update expected error messages for tests 2014-12-03 15:36:22 -05:00
Edwin Brady
e7a35e93e0 Remove implicit qualifier for 'effect'
Two reasons:

1. The most important: it makes error messages *so much better* :).
Because "effect'" rarely properly fails due to having a very generic
type, so any error arises later and breaks the real error which came
from lift'
2. It is much easier to explain what's going on when documenting
effects!

Apologies for breaking effectful code: I now think it is much better
this way though.
2014-05-25 17:05:27 +02:00
David Raymond Christiansen
f56915508d Update test for more informative error messages 2014-03-20 20:00:18 +01:00
Edwin Brady
1d2fc7f8e0 Categorise tests 2014-01-30 17:24:08 +00:00