Commit graph

931 commits

Author SHA1 Message Date
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
Simon Cruanes
ae6d81a9a4 add CCFormat.of_chan 2017-03-07 09:37:29 +01:00
Simon Cruanes
719d048f57 add CCFormat.flush 2017-03-07 09:36:53 +01:00
Simon Cruanes
d45b341232 prepare for 1.1 2017-03-03 16:18:13 +01:00
Simon Cruanes
6df16975ca fix bug in CCOpt.filter (close #100) 2017-03-03 14:15:38 +01:00
Simon Cruanes
5713183a3a remove dead code 2017-03-03 14:15:38 +01:00
Simon Cruanes
18827b920b small fix in doc 2017-03-03 14:15:38 +01:00
Simon Cruanes
8627838faf add CCHeap.to_seq_sorted 2017-02-23 21:01:32 +01:00
Simon Cruanes
12b38f4c31 add CCHeap.to_list_sorted 2017-02-23 20:57:19 +01:00
Simon Cruanes
6fadeb414e add CCIO.File.walk_l 2017-02-17 15:09:51 +01:00
Simon Cruanes
cd2d07c76a new test and small readme section on CCParse 2017-02-16 11:58:47 +01:00
Simon Cruanes
5777549c54 prepare for 1.0 2017-02-11 13:56:08 +01:00
Simon Cruanes
f1459b57df add CCHash.{list,array}_comm 2017-02-11 13:37:32 +01:00
Simon Cruanes
8ddacbb028 add CCHashtbl.Poly and fix issue in Containers (close #46) 2017-02-11 13:28:47 +01:00
Simon Cruanes
edc488b909 add CCHashtbl.get_or_add 2017-02-07 11:38:10 +01:00
Simon Cruanes
827da5a01b more doc 2017-02-06 18:04:27 +01:00
Simon Cruanes
1e9f5a9a21 more flexible CCList.sublists_of_len 2017-02-06 17:35:12 +01:00
Simon Cruanes
fe2336bd3b add CCList.sublists_of_len (close #97) 2017-02-06 17:25:23 +01:00
Simon Cruanes
8462b89bdf add Char.{of_int{,_exn},to_int} (close #95) 2017-01-30 14:46:13 +01:00
Simon Cruanes
56462a862b Merge branch 'master' into prepare-1.0 2017-01-25 00:15:03 +01:00
Simon Cruanes
03fd42e67d reindentation 2017-01-25 00:08:12 +01:00
Simon Cruanes
416d19a763 remove deprecated functions and modules
- `CCList.{split,findi,find}`
- `CCHashtbl.{MakeDefault,MakeCounter}`
- `CCVector.flat_map'`
2017-01-25 00:08:12 +01:00
Simon Cruanes
a0f3a5d24b update comments in CCParse 2017-01-24 23:28:08 +01:00
Simon Cruanes
dbe00f6ca5 update containers.ml so as to include all core containers 2017-01-24 23:26:23 +01:00
Simon Cruanes
8aab182642 large refactor of CCHash, main type is now 'a -> int 2017-01-24 23:21:10 +01:00
Simon Cruanes
8ad0dce97b CCFormat: remove start/stop args, make sep a unit printer 2017-01-24 22:50:26 +01:00
Simon Cruanes
e5adafced6 many improvements to CCFormat
- add `some`
- add `return`
- add `const`
- add `of_to_string`
2017-01-24 22:39:13 +01:00