Commit graph

879 commits

Author SHA1 Message Date
Simon Cruanes
07382c02dd remove deprecated CCSexpStream module 2015-12-22 10:26:56 +01:00
Simon Cruanes
7e86889f1e remove deprecated CCFloat.sign 2015-12-22 10:22:30 +01:00
Simon Cruanes
112dd7da1b doc 2015-12-22 10:21:27 +01:00
Simon Cruanes
90a611fdfd use tags for color handling in CCFormat 2015-12-22 10:20:39 +01:00
Simon Cruanes
c58d31ed98 doc 2015-12-15 16:49:32 +01:00
Simon Cruanes
3ac1eff2af add CCVector.ro_vector as a convenience alias 2015-12-14 17:46:26 +01:00
Simon Cruanes
9cddc2bcf1 some benchmarks for graphs 2015-12-14 14:57:04 +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
99919ae1d3 more cache friendliness 2015-11-28 12:43:50 +01:00
Simon Cruanes
0ec5545564 wip: CCAllocCache, an allocation cache for short-lived arrays 2015-11-28 12:10:03 +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
7105221ff0 add a test in CCGraph 2015-10-23 18:38:29 +02:00
Simon Cruanes
e1e51470f1 add CCHashtbl.add mimicking the stdlib Hashtbl.add 2015-10-22 22:43:00 +02:00
Simon Cruanes
4138acc166 fix CCParse.memo so it uses the new continuations 2015-10-22 00:14:41 +02:00
Simon Cruanes
d30e86f628 change the type 'a CCParse.t with continuations
- goal: avoid stack overflows (tailcalls!)
- add stress test in comments and test
2015-10-21 23:53:18 +02:00
Simon Cruanes
49c2e6fba2 add labels on CCParse.parse_ functions 2015-10-21 23:51:35 +02:00
Simon Cruanes
54c2e4541e add CCPersistentHashtbl.stats 2015-10-21 22:48:51 +02:00
Simon Cruanes
15d5da628d reimplementation of CCPersistentHashtbl 2015-10-21 22:38:48 +02:00
Simon Cruanes
41beb03dd0 deprecate CCVector.rev', renamed into CCVector.rev_in_place 2015-10-21 15:06:00 +02:00
Simon Cruanes
526cda8ecb add CCVector.rev_iter 2015-10-21 15:02:51 +02:00
Simon Cruanes
da188ec911 tests 2015-10-21 14:53:45 +02:00
Simon Cruanes
8e85872beb deprecate CCVector.flat_map', renamed flat_map_seq; add flat_map_list 2015-10-21 14:53:45 +02:00
Simon Cruanes
3a21aab9c8 add CCVector.append_list 2015-10-21 14:53:45 +02:00
Simon Cruanes
fb3ffa1bb5 add CCVector.ensure_with 2015-10-21 14:53:45 +02:00
Simon Cruanes
2c39b63945 add CCVector.return; refactoring 2015-10-21 14:53:45 +02:00
Simon Cruanes
799089659a add CCVector.find_map 2015-10-21 14:53:45 +02:00
Simon Cruanes
f952541044 add Containers.Hashtbl with most combinators of CCHashtbl 2015-10-19 22:16:52 +02:00