Edwin Brady
02701e7bef
Numeric ranges [a..b], [a,b .. c] and list monad
2012-01-06 15:11:11 +00:00
Edwin Brady
67c5734b8e
Added case and pattern matching let bindings
...
Also pattern matching bind in do notation
case notation currently has limitations:
- only works on simple types (each pattern must have the same type,
more specifically)
- return type needs to be known at the point of elaboration
2012-01-06 00:10:12 +00:00
Edwin Brady
f1ba88c0b9
Make Applicative derive from Functor
2012-01-04 11:08:48 +00:00
Edwin Brady
1a12cc34ae
Test for idiom brackets and Applicative class
2012-01-04 11:05:37 +00:00
Edwin Brady
e1e8b95ae4
New test
2012-01-01 19:59:46 +00:00
Edwin Brady
88f6bf147e
Fix obscure where naming bug
2011-12-21 22:06:26 +00:00
Edwin Brady
2342656792
New test
2011-12-21 09:11:49 +00:00
Edwin Brady
001e2d50d8
More in test003; requires latex epic fix
2011-12-17 18:55:58 +00:00
Edwin Brady
0f7b6d587f
Correct test004
2011-12-16 17:43:08 +00:00
Edwin Brady
e2d0099fbd
File handling in prelude
2011-12-16 17:20:19 +00:00
Edwin Brady
6d01c6bc9f
Compile io bind specially, to make sure effectful thunks are not memoised
2011-12-15 15:19:52 +00:00
Edwin Brady
11d4fee426
Some file handling
2011-12-15 14:36:14 +00:00
Edwin Brady
e2611670ea
Add some string primitives (may need latest Epic)
2011-12-14 22:13:35 +00:00
Edwin Brady
dea8d48685
Added support for literate programming with bird tracks (use .lidr extension)
2011-12-13 13:45:56 +00:00
Edwin Brady
b6456999e3
Don't write .ibc on error; add new test
2011-12-09 07:54:30 +00:00
Edwin Brady
dccbc4399f
Generate bytecode so that files don't need to be rechecked every time they're loaded
2011-12-08 23:40:02 +00:00
Edwin Brady
73846830fb
Fiddle with elaborator; update interp sample and test
2011-12-02 16:50:05 +00:00
Edwin Brady
40c303bd34
Since we can overload things, might as well use less ugly names ;)
2011-11-29 17:08:45 +00:00
Edwin Brady
57c8ed3ba4
Added 'module' keyword to declare default namespace. 'main' must be in namespace 'main'
2011-11-29 12:04:39 +00:00
Edwin Brady
6bef4f930d
Overloading lists and syntactic sugar
2011-11-29 11:25:54 +00:00
Edwin Brady
598aca471d
Update interp example and test001 to use namespaces and overloading names
2011-11-29 11:06:01 +00:00
Edwin Brady
fa5f1cd8bb
Namespaces
2011-11-29 01:23:34 +00:00
Edwin Brady
663c464326
Added test directory and a single test...
2011-11-17 22:13:33 +01:00