Commit graph

212 commits

Author SHA1 Message Date
Glen Mével
fb97af680b add CCList.range_by 2016-04-25 00:56:05 +02:00
Simon Cruanes
4b7897ec82 doc 2016-04-24 18:15:24 +02:00
Simon Cruanes
73eecfb10d prepare for 0.17 2016-04-22 23:01:37 +02:00
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
07d11c4104 add CCOpt.if_ 2016-04-19 11:49:12 +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
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
a9b91943e8 add CCFormat.within 2016-04-06 11:23:21 +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
22b001c600 add CCList.fold_filter_map 2016-03-29 11:52:16 +02: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
8d41623ba5 add {CCArray,CCVector,CCList}.(--^) for right-open ranges 2016-03-26 12:05:31 +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
d694d20b26 modify CCPersistentHashtbl.merge and add CCMap.merge_safe 2016-03-14 20:13:20 +01:00
Simon Cruanes
7c9633f06f change the semantics of CCString.find_all (allow overlaps) 2016-03-10 16:34:29 +01:00
Simon Cruanes
ce6d981973 add a special case for pattern of length 1 in CCString.find 2016-03-09 23:34:38 +01:00
Simon Cruanes
ab0b198f97 more tests, bugfixes, and benchs for KMP in CCString 2016-03-09 22:38:27 +01:00
Simon Cruanes
5f188c4f7e in CCString, use KMP for faster sub-string search; add find_all{,_l} 2016-03-09 21:09:32 +01:00
Simon Cruanes
9c338f193e add CCString.rev 2016-03-09 19:45:38 +01:00
Simon Cruanes
d6487a02a0 add CCList.Assoc.remove 2016-03-08 15:50:11 +01:00
Simon Cruanes
a2179d4355 prepare for 0.16 2016-02-24 22:08:26 +01:00
Simon Cruanes
8a3b559970 breaking: change the signature of CCHeap.{of_gen,of_seq,of_klist} 2016-02-24 21:52:26 +01:00
Simon Cruanes
ac6900976a add a printer into CCHeap 2016-02-24 21:52:26 +01:00
Simon Cruanes
903dac110b add {CCList,CCOpt}.Infix modules 2016-02-24 20:38:22 +01:00
Simon Cruanes
5cdf59f30c add CCOpt.map_or, deprecating CCopt.maybe 2016-02-24 20:37:56 +01:00
Simon Cruanes
33b61e8bab add CCFormat.{h,v,hov,hv}box printer combinators 2016-02-24 20:01:18 +01:00
Simon Cruanes
23e3544adc add CCList.hd_tl 2016-02-23 15:34:26 +01:00
Simon Cruanes
16ac701de1 add CCResult.{map_or,get_or} 2016-02-23 14:21:37 +01:00
Simon Cruanes
86f170f213 small rename 2016-02-23 14:19:14 +01:00
Simon Cruanes
26298516b5 add CCHashtbl.add_list 2016-02-21 21:26:02 +01:00
Simon Cruanes
485c6a11b5 test 2016-02-21 18:33:44 +01:00
Simon Cruanes
822a6d806c bugfix: fix wrong signature of CCHashtbl.Make.{keys,values}_list 2016-02-21 18:33:44 +01:00
Simon Cruanes
34b1a4f9ae add counter function in CCHashtbl, to replace CCHashtbl.Counter 2016-02-21 18:33:44 +01:00
Simon Cruanes
bb37ea469d add CCPair.make 2016-02-21 18:33:44 +01:00
Simon Cruanes
1cf81c0031 add CCString.Split.{left,right}_exn 2016-02-21 18:33:44 +01:00
Simon Cruanes
41536c6dd6 fix test 2016-02-21 18:33:33 +01:00
Simon Cruanes
b0b768b60a add CCIO.File.{read,write,append} for quickly handling files 2016-02-20 23:36:48 +01:00