Commit graph

15 commits

Author SHA1 Message Date
Simon Cruanes
f0c3d399bc update tests 2013-02-06 14:53:47 +01:00
Simon Cruanes
855dd739e1 more tests with sexprs 2013-02-05 09:57:42 +01:00
Simon Cruanes
10df563bd8 demonstrate the Sequence.map construct on S-expressions 2013-02-05 00:09:16 +01:00
Simon Cruanes
14d651b836 S-expression module, with a strong accent on
sequences (o'rly?). S-exprs can be converted to and from streams of 'tokens'
2013-02-04 23:30:31 +01:00
Simon Cruanes
74fb0a4725 test of fast iteration over integers 2013-02-04 20:41:58 +01:00
Simon Cruanes
087c38aa0c more efficient Array.of_seq (only allocates one intermediate list, then reverse the array);
test of Array.to_seq and Sequence.append
2013-01-29 14:31:21 +01:00
Simon Cruanes
1e90120295 use a functor rather than first-class modules, for Set 2013-01-29 14:11:47 +01:00
Simon Cruanes
ee4ce9c9ba generic sequence pretty-printing function 2013-01-29 11:13:46 +01:00
Simon Cruanes
2ca708d41a test the conversion to set 2013-01-28 14:32:17 +01:00
Simon Cruanes
64f7afb6a7 test Sequence.rev, since its implementation is non totally trivial 2013-01-28 01:18:10 +01:00
Simon Cruanes
57b778f6cc iterate on integers 2013-01-28 00:34:54 +01:00
Simon Cruanes
bd7ecf0b96 more tests 2013-01-28 00:27:02 +01:00
Simon Cruanes
546a77ba8f modules to convert lists and hashtables from/to sequences 2013-01-28 00:09:48 +01:00
Simon Cruanes
0f04cb8f5c take, concat and drop functions 2013-01-27 23:37:47 +01:00
Simon Cruanes
d29a21f4f5 tests module 2013-01-27 23:17:41 +01:00