Commit graph

15 commits

Author SHA1 Message Date
Simon Cruanes
a3b4e28295 richer api for Gen 2014-02-01 15:26:07 +01:00
Simon Cruanes
2936595dbb bugfix in Gen; make API change explicit for Gen.merge 2014-01-30 01:49:01 +01:00
Simon Cruanes
48ef226efd use a new interface, unit -> 'a option, for Gen. 2014-01-30 01:41:51 +01:00
Simon Cruanes
5ad2b2df83 doc 2013-11-11 23:30:48 +01:00
Simon Cruanes
11611894e9 heavy modification of Gen's API. Now the default 'a Gen.t is a transient, consumable generator
of 'a, and 'a Gen.Restart.t can be used for restartable generators.
2013-11-11 23:04:10 +01:00
Simon Cruanes
e36fc5275a use skew heap in Gen 2013-11-11 20:33:17 +01:00
Simon Cruanes
38257ddc50 fair cartesian product for Gen 2013-11-11 20:29:02 +01:00
Simon Cruanes
ec066c5386 bugfixes in Gen.of_array 2013-09-26 15:29:30 +02:00
Simon Cruanes
0a58a380d8 added Gen.compare and Gen.eq functions 2013-04-02 23:48:51 +02:00
Simon Cruanes
f992f279bc Gen.lexico for lexicographic comparison 2013-03-25 14:37:27 +01:00
Simon Cruanes
a9cdce9424 Gen.intersection, to intersect 2 sorted generators 2013-03-22 09:53:54 +01:00
Simon Cruanes
0af36e124e added repeatedly, rand_int, of_array and to_array to Gen 2013-03-21 18:06:00 +01:00
Simon Cruanes
6ba411d7f5 lower level pp function 2013-03-21 17:51:44 +01:00
Simon Cruanes
7ed1bced9d forgot to update examples/ 2013-03-21 17:35:23 +01:00
Simon Cruanes
2033f07aff renamed Enum into Gen (for "generator"), and updated code and test to reflect so 2013-03-21 17:25:02 +01:00
Renamed from enum.ml (Browse further)