Commit graph

14 commits

Author SHA1 Message Date
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
fbc4946a99 add conversion from/to Stack, Queue, and add functions for Array and Ints;
also added more doc
2013-01-28 15:13:05 +01:00
Simon Cruanes
fa412b7ece reformatted license prelude;
add a Set conversion module, using first class modules of ocaml>=3.12
2013-01-28 14:32:06 +01:00
Simon Cruanes
024e0115db added license prelude to files; added Sequence.singleton builder 2013-01-28 01:41:43 +01:00
Simon Cruanes
8e9842c2b6 generate documentation 2013-01-28 01:08:15 +01:00
Simon Cruanes
0534a1fc2b for_all, rev, iteri, exists added to sequence 2013-01-28 01:04:42 +01:00
Simon Cruanes
7dbd8d15e3 append/concat primitives 2013-01-28 00:55:57 +01:00
Simon Cruanes
57b778f6cc iterate on integers 2013-01-28 00:34:54 +01:00
Simon Cruanes
e5039470e8 renamed Sequence.sequence to Sequence.t 2013-01-28 00:12:19 +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
4982630967 sequence type 2013-01-27 23:17:29 +01:00