Commit graph

1413 commits

Author SHA1 Message Date
Simon Cruanes
b17f55b1d1 add monomorphic signatures in CCInt and CCFloat 2016-04-22 22:07:06 +02:00
Simon Cruanes
d3b6f6020f add CCList.{sorted_insert,is_sorted} 2016-04-22 15:19:22 +02:00
Simon Cruanes
9d9f709600 bugfix in CCFormat.to_file (fd was closed too early) 2016-04-22 14:22:15 +02:00
Simon Cruanes
871fe7cfb7 fix 2016-04-21 16:15:19 +02:00
Simon Cruanes
d587e8aaf4 compat 2016-04-21 15:54:33 +02:00
Simon Cruanes
a3d763bfd9 add CCLazy_list in containers.iter (with a few functions) 2016-04-21 15:24:51 +02:00
Simon Cruanes
c14191f1bd small fix for 4.0 compat 2016-04-20 10:05:04 +02:00
Simon Cruanes
308ea3a650 add CCTrie.longest_prefix 2016-04-19 23:44:24 +02:00
Simon Cruanes
3c9548ebf2 provide additional ordering properties in CCTrie.{above,below}
- also add tests for those
2016-04-19 23:32:16 +02:00
Simon Cruanes
ae06357487 formatting in CCTrie 2016-04-19 22:33:42 +02:00
Simon Cruanes
563927a592 readme 2016-04-19 18:59:53 +02:00
Simon Cruanes
07d11c4104 add CCOpt.if_ 2016-04-19 11:49:12 +02:00
Simon Cruanes
777796d8a6 some opam constraints 2016-04-19 10:31:48 +02:00
Simon Cruanes
b9f7d2e18a comments and doc for CCDeque 2016-04-19 00:19:13 +02:00
Simon Cruanes
6f8717ccd0 fix 2016-04-18 15:50:53 +02:00
Simon Cruanes
b1b8bc1096 also fail in CCRandom.sample_without_replacement if n<=0 2016-04-18 15:39:55 +02:00
Simon Cruanes
203d870357 fix test and have CCRandom.split_list fail on len=0 2016-04-18 15:33:37 +02:00
Simon Cruanes
2f196ee9a2 more doc and test for CCRandom 2016-04-18 15:05:59 +02:00
Simon Cruanes
dba88f5302 add CCOpt.{for_all, exists} 2016-04-18 13:19:26 +02:00
Simon Cruanes
037f169044 watch target should build all 2016-04-18 11:20:24 +02:00
Simon Cruanes
e2bc0cf55a add CCRef.{get_then_incr,incr_then_get} functions 2016-04-15 15:04:31 +02:00
Simon Cruanes
55a4c7ef7a add Result.{to,of}_err 2016-04-11 20:56:39 +02:00
Simon Cruanes
85c4695138 add version constraint on sequence 2016-04-07 12:05:21 +02:00
Simon Cruanes
a9b91943e8 add CCFormat.within 2016-04-06 11:23:21 +02:00
Simon Cruanes
55c9d6c60b fix tests 2016-04-05 20:01:39 +02:00
Simon Cruanes
53c4facdaf Merge pull request #67 from johanneskloos/master
Provide `map` and `mapi` for some of the map types
2016-04-05 19:58:42 +02:00
jkloos
ec3c881939 Added @since tags. 2016-04-05 17:55:36 +02:00
jkloos
3ef3465156 Merge https://github.com/c-cube/ocaml-containers 2016-04-05 16:43:26 +02:00
jkloos
de2244641b Added tests. 2016-04-05 16:39:05 +02:00
jkloos
de859a844d Added map/mapi to some of the map types. 2016-04-05 16:27:30 +02:00
Simon Cruanes
f8bb365c94 implement CCString.{drop,take,chop_prefix,chop_suffix,filter,filter_map} 2016-04-05 14:38:49 +02:00
Simon Cruanes
4bb65a67df more benchs 2016-04-05 14:25:30 +02:00
Simon Cruanes
2e5a360bcd fix for qtest 2.2 2016-04-03 00:01:53 +02:00
Simon Cruanes
22b001c600 add CCList.fold_filter_map 2016-03-29 11:52:16 +02:00
Simon Cruanes
eea9d8139e additional test for CCParse (using temp file) 2016-03-26 12:31:00 +01:00
Simon Cruanes
13dad5b6ac add CCIO.File.with_temp for creating temporary files 2016-03-26 12:22:25 +01:00
Simon Cruanes
03350031a3 small cleanup 2016-03-26 12:21:20 +01:00
Simon Cruanes
0d2fc07e52 move tests 2016-03-26 12:08:20 +01:00
Simon Cruanes
cbe060fd03 headers 2016-03-26 12:08:07 +01:00
Simon Cruanes
8d41623ba5 add {CCArray,CCVector,CCList}.(--^) for right-open ranges 2016-03-26 12:05:31 +01:00
Simon Cruanes
6ccad958c4 make some tests a bit faster 2016-03-26 11:53:58 +01:00
Simon Cruanes
ef4c86d8a1 add CCString.pad for more webscale 2016-03-24 18:24:24 +01:00
Simon Cruanes
a039add6e7 add Containers.{Char,Result} 2016-03-22 18:42:08 +01:00
Simon Cruanes
6e905a839d more iterations for some tests 2016-03-22 11:14:11 +01:00
Simon Cruanes
5e30104954 optimize KMP search in CCString.Find (hand-specialize code) 2016-03-20 23:20:46 +01:00
Simon Cruanes
71794d8d45 migrate to new qtest 2016-03-20 16:02:11 +01:00
Simon Cruanes
6e46687ee8 fix compilation error 2016-03-14 20:38:59 +01:00
Simon Cruanes
d694d20b26 modify CCPersistentHashtbl.merge and add CCMap.merge_safe 2016-03-14 20:13:20 +01:00
Simon Cruanes
33dd681acd update headers 2016-03-14 20:04:52 +01:00
Simon Cruanes
69e8f7abf8 Merge pull request #60 from johanneskloos/master
Make `CCPersistentHashtbl.S.merge` more general.
2016-03-14 13:56:26 +01:00