Commit graph

1365 commits

Author SHA1 Message Date
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
Simon Cruanes
79f872daf4 more functions in CCList.Zipper 2015-10-16 23:29:15 +02:00
Simon Cruanes
b34986518d large update of CCList.Zipper. Breaking semantics of CCList.Zipper.is_empty 2015-10-16 23:14:27 +02:00
Simon Cruanes
c10b240474 add CCHashtbl.update 2015-10-16 15:22:23 +02:00
Simon Cruanes
1cc835dfd4 improve CCHashtbl.MakeCounter 2015-10-16 15:08:03 +02:00
Simon Cruanes
dd833cc667 add CCList.fold_flat_map 2015-10-14 16:33:37 +02:00
Simon Cruanes
b3cbb518b4 missing printer 2015-10-13 17:37:41 +02:00
Simon Cruanes
7808ecb602 Merge pull request #50 from Gbury/print_char
add `CCPrint.char`
2015-10-13 15:19:35 +02:00
Guillaume Bury
0610d014f1 Added @since in documentation 2015-10-13 15:13:50 +02:00
Simon Cruanes
c71dfcf6f3 new module CCChar 2015-10-13 15:09:52 +02:00
Simon Cruanes
22c205f1d4 add functions in CCFormat 2015-10-13 15:07:12 +02:00
Guillaume Bury
2d05f33f2a New CCPrint.char function 2015-10-13 15:04:07 +02:00
Simon Cruanes
6e99f1c8e8 add CCVector.to_seq_rev 2015-10-08 12:01:18 +02:00
Simon Cruanes
05fc100be2 detail 2015-10-07 16:34:19 +02:00
Simon Cruanes
164d71380a small bugfix in CCSexpM.print 2015-10-07 16:28:22 +02:00