Commit graph

357 commits

Author SHA1 Message Date
Simon Cruanes
296cdc8748 small changes to CCList 2017-06-29 23:36:54 +02:00
Bikal Gurung
eab5fbb36a Addresses reviewer comments. 2017-06-29 21:15:01 +01:00
Bikal Gurung
745c0cd78e Addresses reviewer comments 2017-06-29 18:13:39 +01:00
Bikal Gurung
7a9a741bb0 Adds tests for split function. 2017-06-28 23:27:06 +01:00
Bikal Gurung
973062158a Implements safe version of List.split 2017-06-28 22:10:50 +01:00
nilsbecker
78591cf621 removed trailing spaces 2017-06-24 18:16:21 +02:00
nilsbecker
92958cc116 duplicated the changes in array_slice.mli 2017-06-24 13:48:20 +02:00
nilsbecker
a2b2eaec2e small correction 2017-06-24 13:45:49 +02:00
nilsbecker
4058fc799e typos and clarification in doc strings
for sort_indices, sort_ranks and lookup_exn
2017-06-24 11:59:59 +02:00
Simon Cruanes
b2f8eb5b27 update to qcheck 0.6 2017-05-30 09:16:37 +02:00
Simon Cruanes
5d768aeeb2 add CCArray.find_map{,_i}, deprecated older names (closes #129) 2017-05-20 13:18:36 +02:00
Simon Cruanes
bfefda632b add CCList.{keep,all}_{some,ok} (closes #124) 2017-05-20 13:15:18 +02:00
Simon Cruanes
3ab610ba0e prepapre for 1.2 2017-05-01 16:59:25 +02:00
Simon Cruanes
465b5992e8 add CCString.{l,r}trim (close #121) 2017-05-01 16:54:29 +02:00
Simon Cruanes
5d5909459f details 2017-05-01 16:54:29 +02:00
Simon Cruanes
75e3962ba1 make many modules extensions of stdlib (close #109)
for : Random Array List ArrayLabels ListLabels Char String
2017-05-01 16:54:23 +02:00
Fabian
0408466bd9 More tests for floor_div and rem 2017-04-28 15:22:32 -05:00
Fabian
883eb611f0 Implement CCInt.floor_div and CCInt.rem 2017-04-28 14:40:15 -05:00
Simon Cruanes
81ed6139ca add CCList.take_drop_while (close #120) 2017-04-24 20:20:37 +02:00
Simon Cruanes
8d01cf3cc2 missing fun 2017-04-19 22:45:41 +02:00
Simon Cruanes
9aa5d08f96 more doc (close #118) 2017-04-19 22:40:04 +02:00
Simon Cruanes
71ad95044f missing function 2017-04-19 22:09:46 +02:00
Simon Cruanes
93568949e6 annotations in CCEqual, for optimization 2017-04-19 22:08:56 +02:00
Simon Cruanes
6c8de1bc64 small fix 2017-04-18 22:04:37 +02:00
Simon Cruanes
fcd987f1c0 fix test 2017-04-18 21:47:32 +02:00
Simon Cruanes
0c7280a8f4 remove test that depends on 4.02 2017-04-18 21:46:38 +02:00
Simon Cruanes
1b200ff695 add CCstring.equal_caseless (close #112) 2017-04-18 21:41:44 +02:00
Simon Cruanes
c725543faa add alias CCString.split (close #115) 2017-04-18 21:23:18 +02:00
Simon Cruanes
9cca745fcf add CCFormat.text (close #111) 2017-04-18 21:19:50 +02:00
Simon Cruanes
fc6682b1c1 add CCFormat.{newline,substring} 2017-04-18 21:19:37 +02:00
Simon Cruanes
f294ce1634 add CCList.combine_gen (close #110) 2017-04-18 20:58:38 +02:00
Simon Cruanes
990b7b7b81 style 2017-04-18 20:55:03 +02:00
Simon Cruanes
6d728d5ce7 add a small test 2017-04-18 14:05:55 +02:00
LemonBoy
404fede54a Add a tail-recursive implementation of List.combine
Closes #108.
2017-04-18 12:03:46 +02:00
Simon Cruanes
af6cd08ff4 fix too restrictive type in CCResult 2017-04-13 15:23:22 +02:00
Simon Cruanes
c7b1afca82 missing alias 2017-04-10 10:31:54 +02:00
Simon Cruanes
08bc15dd8c add module CCEqual 2017-04-09 15:11:44 +02:00
Simon Cruanes
02b2a21e33 add CCResult.fold_ok (closes #107) 2017-04-05 10:43:37 +02:00
Simon Cruanes
ee69bdcab8 add CCFormat.with_color_ksf for colored printing 2017-04-03 15:32:26 +02:00
Simon Cruanes
e0287b9efe add CCInt.range{,',by} for iterating on integer ranges 2017-03-29 17:40:54 +02:00
Simon Cruanes
47abc78a51 add CCString.Sub.get 2017-03-29 17:40:54 +02:00
Simon Cruanes
f27f7757de add CCResult.add_ctx{,f} for replacing stack traces 2017-03-27 22:06:37 +02:00
Simon Cruanes
7e8c7235bc use result package for retrocompat 2017-03-26 00:36:45 +01:00
glennsl
6573a2dd4a Add map_lazy, or_, or_lazy, to_result, to_result_lazy and of_result to CCOpt 2017-03-26 00:29:32 +01:00
Simon Cruanes
923e83b0fc make tests faster 2017-03-16 10:27:00 +01:00
Simon Cruanes
97abfe600e use boxes in CCFormat.Dump for tuples 2017-03-14 11:16:11 +01:00
Simon Cruanes
ef651342eb add CCString.split_on_char 2017-03-10 21:33:40 +01:00
Simon Cruanes
d135f73c76 add CCArray.{fold_map,scan_left} (close #101) 2017-03-09 21:42:44 +01:00
Simon Cruanes
6e97ee8c7c add CCList.scan_left 2017-03-09 21:42:44 +01:00
Simon Cruanes
ff53571a3b add CCList.{cartesian_product,map_product_l} 2017-03-09 21:42:44 +01:00