Commit graph

87 commits

Author SHA1 Message Date
Simon Cruanes
5720120fa1 more tests 2018-01-31 20:07:04 -06:00
Simon Cruanes
3b8f7099cb style fixes 2018-01-28 10:31:26 -06:00
nathan moreau
e598aac764 Correcting test CCList.tail_opt 2018-01-28 16:36:27 +01:00
nathan moreau
b0d92f44ea Adding CCList.tail_opt 2018-01-26 09:25:17 +01:00
Simon Cruanes
bc27e60a81 reindent 2018-01-21 14:39:44 -06:00
nathan moreau
25f919070f Adding comments 2 2018-01-21 17:09:42 +01:00
Stavros Polymenis
796702a732 Add CCList.iteri2 and CCList.foldi2 2018-01-18 18:07:19 +00:00
Simon Cruanes
8f46fdb6d2 move to jbuilder (closes #165) 2018-01-14 17:43:56 -06:00
Jacques-Pascal Deplaix
ff69945575 Shadow polymorphic functions in CCList 2018-01-14 23:33:39 +00:00
Jacques-Pascal Deplaix
35c2d0ed54 Fix tests 2018-01-14 23:32:13 +00:00
Jacques-Pascal Deplaix
9622f6f6ff Avoid uses of the polymorphic operators 2018-01-14 23:32:13 +00:00
Jacques-Pascal Deplaix
6d2063ded4 Internally shadow polymorphic operators and functions from Pervasives 2018-01-14 23:32:13 +00:00
Simon Cruanes
7f6cb0f673 have CCList.{get,insert,set}_at_idx work with negative indices 2017-12-25 17:30:00 +01:00
Simon Cruanes
d8610646d8
Merge pull request #170 from jpdeplaix/remove_at_neg_idx
Allow negative indexes in `CCList.remove_at_idx`
2017-12-25 17:25:15 +01:00
Simon Cruanes
17dc7bb5c3 fix default implems of CCList.compare_length{s,_with} 2017-12-24 17:22:02 +01:00
Simon Cruanes
a249f2ac0b missing compat functions 2017-12-24 17:10:02 +01:00
Simon Cruanes
f6b3a7addf warnings 2017-12-24 17:07:59 +01:00
Jacques-Pascal Deplaix
4b30aba080 Allow negative indexes in CCList.remove_at_idx 2017-12-23 15:35:35 +00:00
Jacques-Pascal Deplaix
78ee7e5c2f Add List.count 2017-12-03 21:30:26 +00:00
Simon Cruanes
946a585a9e backport some functions added in 4.05 in CCList 2017-11-29 14:58:35 +01:00
Simon Cruanes
66a8dfc396 add a test 2017-10-05 18:19:48 +02:00
Simon Cruanes
336ebe63f9 style and comments for the new CCList.map 2017-10-05 11:59:03 +02:00
Yotam Barnoy
0aaab670f7 list: Use efficient chunking algorithm for tail-recursive list map
See discussion at
https://discuss.ocaml.org/t/a-new-list-map-that-is-both-stack-safe-and-fast/865/32
2017-10-03 17:45:26 -04:00
Simon Cruanes
c575f97369 whitespace 2017-07-29 19:24:37 +02:00
Simon Cruanes
609d51c89e bugfix in CCList.split 2017-07-04 16:25:28 +02:00
Simon Cruanes
aab19f6a50 update headers; reindent 2017-07-04 13:13:24 +02:00
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
Simon Cruanes
b2f8eb5b27 update to qcheck 0.6 2017-05-30 09:16:37 +02:00
Simon Cruanes
bfefda632b add CCList.{keep,all}_{some,ok} (closes #124) 2017-05-20 13:15:18 +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
Simon Cruanes
81ed6139ca add CCList.take_drop_while (close #120) 2017-04-24 20:20:37 +02:00
Simon Cruanes
f294ce1634 add CCList.combine_gen (close #110) 2017-04-18 20:58:38 +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
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
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
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
9b53e3c2a5 use Labels versions of CCList and CCArray 2016-12-29 11:07:44 +01:00
Simon Cruanes
a8babbd941 add labels to CCList 2016-11-11 00:52:44 +01:00
Simon Cruanes
2c00983262 split CCList.Zipper into its own module, CCZipper in containers.data 2016-11-03 22:06:41 +01:00
Simon Cruanes
6ff6c51687 change argument ordering in CCList.Assoc 2016-11-03 22:03:13 +01:00
Simon Cruanes
ad1513e36c remove CCList.Idx, rename its functions to toplevel 2016-11-03 21:57:24 +01:00