Commit graph

2066 commits

Author SHA1 Message Date
Simon Cruanes
f040f476e2 travis 2017-12-24 17:41:33 +01:00
Simon Cruanes
17dc7bb5c3 fix default implems of CCList.compare_length{s,_with} 2017-12-24 17:22:02 +01:00
Simon Cruanes
c12f2d2095 more tests 2017-12-24 17:21:57 +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
Simon Cruanes
787c9ad5d1 travis 2017-12-24 16:54:00 +01:00
Simon Cruanes
b7a250cef2 remove cppo from deps and build 2017-12-24 16:49:47 +01:00
Simon Cruanes
df07cf5bb2 remove all uses of cppo 2017-12-24 16:43:17 +01:00
Simon Cruanes
bb37abe984 add travis support 2017-12-24 16:43:17 +01:00
Jacques-Pascal Deplaix
4b30aba080 Allow negative indexes in CCList.remove_at_idx 2017-12-23 15:35:35 +00:00
Simon Cruanes
ed10db67b6 closes #166 by adding a drop parameter to string split functions 2017-12-21 14:07:52 +01:00
Simon Cruanes
2b67a1a679 add colors 2017-12-19 20:24:12 +01:00
Simon Cruanes
9ac7984f74 add Hash.const0 for trivial hash function that ignores its input 2017-12-15 13:49:34 +01:00
Simon Cruanes
632526e407 improve compatibility with the stdlib 2017-12-15 09:49:54 +01:00
Simon Cruanes
3a4d827d80 fix containers.top (closes #155) 2017-12-15 09:43:44 +01:00
Simon Cruanes
00f0a1dd34
Merge pull request #164 from lostman/master
Use `include` to make `CCListLabels` and `CCArrayLabels` trivial
2017-12-06 11:38:01 +01:00
Maciej Woś
7d88c0f068 Update AUTHORS 2017-12-06 19:35:54 +09:00
Maciej Woś
58277c77bb Automatically add labeled interface to CCList and CCArray 2017-12-06 13:05:20 +09:00
Simon Cruanes
16a7ff6d4e
Merge pull request #162 from jpdeplaix/list_count
Add `List.count`
2017-12-03 22:37:27 +01:00
Jacques-Pascal Deplaix
78ee7e5c2f Add List.count 2017-12-03 21:30:26 +00:00
Simon Cruanes
e16d0ee27b
Merge pull request #160 from jpdeplaix/String.is_empty
Add `String.is_empty`
2017-12-01 09:43:49 +01:00
Jacques-Pascal Deplaix
e20d0ccfcc Add String.is_empty 2017-12-01 08:36:40 +00:00
Simon Cruanes
c66c96d252 small fixes in ocamldoc 2017-11-29 15:00:05 +01:00
Simon Cruanes
946a585a9e backport some functions added in 4.05 in CCList 2017-11-29 14:58:35 +01:00
Simon Cruanes
f65bcd212d small comment 2017-11-29 14:58:35 +01:00
Simon Cruanes
2fbf765466 fix small warning 2017-11-29 14:58:35 +01:00
Simon Cruanes
b1cc57b2fe update warnings 2017-11-29 14:58:35 +01:00
Simon Cruanes
d09820b916 add functions from 4.05 into CC{Map,Set} 2017-11-29 14:58:35 +01:00
Simon Cruanes
170d7662e7
Merge pull request #159 from orbifx/master
Add `CCImmutArray.sub`, which creates a copy
2017-11-20 21:45:57 +01:00
Stavros Polymenis
a28dd399f4 Improve CCImmutArray.sub comments and versioning 2017-11-20 20:42:17 +00:00
SP
c49458d923 Implement CCImmutArray.sub, but creates a copy 2017-11-20 16:14:04 +00:00
Simon Cruanes
3b50617744
Merge pull request #158 from jpdeplaix/fix-cctrie
fix bug in `CCTrie` where an assertion would use polymorphic comparison on arbitrary types
2017-11-07 18:24:17 +01:00
Jacques-Pascal Deplaix
3d27bd285e Add a regression test 2017-11-07 18:08:38 +01:00
Simon Cruanes
66d4ae9811 missing function in CCListLabels 2017-11-07 13:56:38 +01:00
Jacques-Pascal Deplaix
0ed3c70669 Fix CCTrie.Make: Remove polymorphic comparison 2017-11-07 12:11:41 +01:00
Simon Cruanes
f28b75792b
Merge pull request #156 from Gbury/add-cache
Add `CCCache.add` for manual manipulation of caches
2017-11-01 17:32:40 +01:00
Guillaume Bury
03f3457f6d Add CCCache.add 2017-11-01 03:25:08 +01:00
Simon Cruanes
92c683a9c4 doc: CCList.cartesian_product returns results in unspecified order (close #154) 2017-10-27 15:39:01 +02:00
Simon Cruanes
d6f7f1570e prepare for 1.4 2017-10-11 09:29:31 +02: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
Simon Cruanes
e2d20b61f0 Merge pull request #152 from bluddy/master
`CCList`: Use efficient chunking algorithm for tail-recursive list map
2017-10-05 11:52:38 +02:00
Simon Cruanes
1afd0311fc add ocp-indent file 2017-10-04 09:09:02 +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
4096122979 add CCMap.union 2017-09-30 15:02:03 +02:00
Simon Cruanes
e9b9ed1d92 add CCRef.swap 2017-09-22 17:52:24 +02:00
Simon Cruanes
9beab5c3e6 update readme 2017-09-18 10:58:58 +02:00
Simon Cruanes
9a2dab6802 Merge pull request #151 from quicquid/ccfqueue-bugfix
bugfix for `CCFQueue.take_back_exn` : wrong exception
2017-09-18 10:43:54 +02:00
Martin
49721c4bc5 CCFQueue.take_back_exn raised InvalidArg instead of Empty on an empty queue 2017-09-18 10:40:03 +02:00
Simon Cruanes
f254a0f6e4 small doc 2017-09-18 10:38:54 +02:00