Commit graph

565 commits

Author SHA1 Message Date
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
Simon Cruanes
d2fbd8dd77 add CCRandom.pick_{list,array} 2016-02-20 23:29:44 +01:00
Simon Cruanes
34445bead0 replace headers in the rest of containers core 2016-02-20 23:24:24 +01:00
Simon Cruanes
526ea35495 add CCFormat.sprintf_no_color 2016-02-19 16:34:01 +01:00
Simon Cruanes
12ca402025 provide "bold" style 2016-02-19 14:10:29 +01:00
Simon Cruanes
b8beed4587 add CCList.Assoc.update 2016-02-18 15:49:53 +01:00
Simon Cruanes
dcfbff7827 add CCList.Assoc.mem 2016-02-18 15:40:40 +01:00
Simon Cruanes
12fe3fdde3 deprecation incoming for CCHashtbl.{Counter,Default} tables 2016-02-18 12:28:19 +01:00
Simon Cruanes
708a92d027 add {CCMap,CCHashtbl}.get_or for lookup with default value 2016-02-18 12:21:21 +01:00
Simon Cruanes
db67b19fe8 update some headers, formatting 2016-02-18 12:18:19 +01:00
Simon Cruanes
9e94f002e4 breaking: make type CCHash.state abstract 2016-01-29 15:57:00 +01:00
Simon Cruanes
02a9639d02 add CCResult, with dependency on result for retrocompat 2016-01-25 21:20:06 +01:00
Simon Cruanes
e2848675f7 add CCFormat.{with_color, with_colorf} 2016-01-25 19:37:43 +01:00
Simon Cruanes
7dbf3f983b add CCFun.finally{1,2}, convenience around finally 2016-01-25 16:38:36 +01:00
Simon Cruanes
3cfe3767fc add breaking space in CCFormat.{pair,triple,quad} 2016-01-20 14:19:47 +01:00
Simon Cruanes
cf931aabb1 add CCList.fold_map2 2016-01-05 16:53:33 +01:00
Simon Cruanes
03604cb836 add tests; change header 2015-12-29 17:19:43 +01:00
Simon Cruanes
5d6098b80d make CCFormat color handling support nested tags properly 2015-12-22 16:09:40 +01:00
Simon Cruanes
d569cf59bb prepare for 0.15 2015-12-22 10:34:14 +01:00
Simon Cruanes
7e86889f1e remove deprecated CCFloat.sign 2015-12-22 10:22:30 +01:00
Simon Cruanes
90a611fdfd use tags for color handling in CCFormat 2015-12-22 10:20:39 +01:00
Simon Cruanes
3ac1eff2af add CCVector.ro_vector as a convenience alias 2015-12-14 17:46:26 +01:00
Simon Cruanes
24d9213cae bugfix: forgot to exporte {Set.Map}.OrderedType in Containers 2015-12-10 20:32:06 +01:00
Simon Cruanes
fdfc106cad basic ANSI codes for colors in CCFormat 2015-12-03 10:01:10 +01:00
Simon Cruanes
1d6cf2c683 add CCOrd.option 2015-12-02 20:59:07 +01:00
Simon Cruanes
191953feaf add CCMap.{keys,values} 2015-11-30 12:33:59 +01:00
Simon Cruanes
af2b6caee2 minor formatting 2015-11-22 23:13:08 +01:00
carm
eedce68653 join / both applicative functions for CCError 2015-11-22 17:04:24 -05:00
Simon Cruanes
4d9b1d68ed cleanup; use short-paths 2015-11-13 16:23:49 +01:00
Simon Cruanes
ccf605de12 use qtest's random seed to test Random.split_list 2015-11-13 16:17:40 +01:00
octachron
3b94aa8a2c Fix @since tags in CCRandom.mli 2015-11-13 16:38:05 +02:00
octachron
0a662ef112 Exclude uniformity test from the documentation 2015-11-13 06:18:26 +02:00
octachron
de2a51d62e Fix a wasteful sort in sample_without_replacement 2015-11-13 06:18:17 +02:00
octachron
2bb6423109 CCRandom: add an uniformity test 2015-11-11 23:41:04 +02:00
octachron
06f9ca3eee CCRandom: Make split_list uniform 2015-11-11 23:40:59 +02:00
octachron
08403bac9f CCRandom: Add sample_without_replacement 2015-11-11 23:40:25 +02:00
Simon Cruanes
1c6c4d846e fix: expose type Containers.Hashtbl.t (#53) 2015-11-11 14:57:14 +01:00
Fourchaux
44387de784 Correction typos (fichiers src) 2015-11-08 22:27:59 +01:00
Simon Cruanes
60aea81750 prepare for 0.14 2015-11-08 13:04:09 +01:00
Simon Cruanes
344844ff9f add CCMap.add_{list,seq} 2015-10-28 15:41:06 +01:00
Simon Cruanes
431c3a1e53 add CCSet.add_{list,seq} 2015-10-28 15:39:01 +01:00
Simon Cruanes
59835f8ef2 fix the same uglyness in Set.print 2015-10-26 17:22:56 +01:00
Simon Cruanes
5a2c7f3f60 fix small uglyness in Map.print 2015-10-26 17:21:01 +01:00
Simon Cruanes
80f36d20eb doc; test 2015-10-26 10:01:34 +01:00
Simon Cruanes
437852d18e add CCFormat.{ksprintf,string_quoted} 2015-10-26 09:52:31 +01:00
Simon Cruanes
2608fc90bb tune CCarray.sort_generic 2015-10-24 00:13:02 +02:00
Simon Cruanes
f7a7ce19b3 add CCArray.sort_generic for sorting over array-like structures in place 2015-10-23 23:47:07 +02:00
Simon Cruanes
41beb03dd0 deprecate CCVector.rev', renamed into CCVector.rev_in_place 2015-10-21 15:06:00 +02:00