Commit graph

383 commits

Author SHA1 Message Date
Simon Cruanes
9b53e3c2a5 use Labels versions of CCList and CCArray 2016-12-29 11:07:44 +01:00
Simon Cruanes
e8cd571005 prepare 0.22 2016-12-18 01:32:52 +01:00
Jacques-Pascal Deplaix
5279304b40 Add CCMultiSet.remove_all 2016-12-06 18:29:50 +01:00
Simon Cruanes
a8babbd941 add labels to CCList 2016-11-11 00:52:44 +01:00
Simon Cruanes
2d718b93ad remove CCHashconsedSet 2016-11-03 23:51:01 +01:00
Simon Cruanes
6943771bdf remove CCAllocCache 2016-11-03 23:49:50 +01:00
Simon Cruanes
d849b51892 remove CCBloom 2016-11-03 23:49:19 +01:00
Simon Cruanes
13b34f4fcf simplify and cleanup of CCGraph 2016-11-03 23:25:39 +01:00
Simon Cruanes
7229f04981 detail 2016-11-03 23:25:35 +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
ad1513e36c remove CCList.Idx, rename its functions to toplevel 2016-11-03 21:57:24 +01:00
Simon Cruanes
5a1a88d3f5 rewrite CCBitField with a much simpler interface 2016-11-03 21:35:53 +01:00
Simon Cruanes
13b283a91d remove buffer printers, rename pretty-printers to pp 2016-11-03 18:24:11 +01:00
Simon Cruanes
c89186a100 remove CCPrint (also, update tests relying on it) 2016-11-03 17:57:41 +01:00
Simon Cruanes
4ff174ce18 (breaking) make default start/stop arguments empty in printers (#82) 2016-11-03 15:19:50 +01:00
Simon Cruanes
913cfcacea prepare for 0.19 2016-08-22 09:58:09 +02:00
Simon Cruanes
e704020e35 additional functions in CCMultiSet 2016-07-20 17:48:32 +02:00
Simon Cruanes
6784608496 headers 2016-07-20 17:48:32 +02:00
Carmelo Piccione
3c6f77b67a show ocaml array type concretely in Make sig 2016-07-09 10:59:01 -04:00
Simon Cruanes
3731b9d42f a few longer tests for CCFlatHashtbl 2016-06-20 16:19:09 +02:00
Simon Cruanes
c5303919bd fix bugs in CCFlatHashtbl 2016-06-20 16:10:07 +02:00
Simon Cruanes
4b0371d7c6 add thorough tests to CCFlatHashtbl 2016-06-20 16:10:00 +02:00
Simon Cruanes
228011d9aa prepare for 0.18 2016-06-14 14:12:02 +02:00
Simon Cruanes
e08fc88e13 add CCGraph.is_dag 2016-05-06 13:37:32 +02:00
Simon Cruanes
24add9d4f7 make a test less slow 2016-04-25 11:56:07 +02:00
Simon Cruanes
73eecfb10d prepare for 0.17 2016-04-22 23:01:37 +02:00
Simon Cruanes
bb74a33385 add (--^) to CCRAl, CCFQueue, CCKlist (closes #56); add CCKList.Infix 2016-04-22 22:50:37 +02:00
Simon Cruanes
0485bc5cd9 formattign, headers 2016-04-22 22:08:40 +02:00
Simon Cruanes
c14191f1bd small fix for 4.0 compat 2016-04-20 10:05:04 +02:00
Simon Cruanes
308ea3a650 add CCTrie.longest_prefix 2016-04-19 23:44:24 +02:00
Simon Cruanes
3c9548ebf2 provide additional ordering properties in CCTrie.{above,below}
- also add tests for those
2016-04-19 23:32:16 +02:00
Simon Cruanes
ae06357487 formatting in CCTrie 2016-04-19 22:33:42 +02:00
Simon Cruanes
b9f7d2e18a comments and doc for CCDeque 2016-04-19 00:19:13 +02:00
Simon Cruanes
55c9d6c60b fix tests 2016-04-05 20:01:39 +02:00
jkloos
ec3c881939 Added @since tags. 2016-04-05 17:55:36 +02:00
jkloos
3ef3465156 Merge https://github.com/c-cube/ocaml-containers 2016-04-05 16:43:26 +02:00
jkloos
de2244641b Added tests. 2016-04-05 16:39:05 +02:00
jkloos
de859a844d Added map/mapi to some of the map types. 2016-04-05 16:27:30 +02:00
Simon Cruanes
6e46687ee8 fix compilation error 2016-03-14 20:38:59 +01:00
Simon Cruanes
d694d20b26 modify CCPersistentHashtbl.merge and add CCMap.merge_safe 2016-03-14 20:13:20 +01:00
Simon Cruanes
33dd681acd update headers 2016-03-14 20:04:52 +01:00
Simon Cruanes
69e8f7abf8 Merge pull request #60 from johanneskloos/master
Make `CCPersistentHashtbl.S.merge` more general.
2016-03-14 13:56:26 +01:00
Simon Cruanes
0c04df58b0 update CCHet to not use Obj.magic; add test 2016-03-11 21:20:25 +01:00
Simon Cruanes
3a34cc9aa8 add CCHet, heterogeneous containers (table/map) indexed by keys
Difference with CCMix{tbl,map} is that there is no other key than the
polymorphic injection.
2016-03-11 16:11:16 +01:00
jkloos
fecbd7683a Make CCPersistentHashtbl.S.merge more general.
This patch brings the merge function of CCPersistentHashtbl
in line with the merge functions of other maps
(Map, BatMap from batteries). In particular, its signature
changes from the restrictive
  merge: (key -> 'a option -> 'a option -> 'a option) ->
    'a t -> 'a t -> 'a t
to a more general
  merge: (key -> 'a option -> 'b option -> 'c option) ->
    'a t -> 'b t -> 'c t
2016-03-09 11:28:55 +01:00
Simon Cruanes
574b4ac62e add CCImmutArray into containers.data 2016-03-01 20:31:53 +01:00
Simon Cruanes
a2179d4355 prepare for 0.16 2016-02-24 22:08:26 +01:00
Simon Cruanes
db1de6e6e6 add CCGraph.make and utils 2016-02-21 21:45:14 +01:00
Simon Cruanes
1993eabd21 breaking: change the API of CCMixmap
- make it easier to use |> with CCMixmap
- add test and example
2016-02-19 19:58:21 +01:00
Simon Cruanes
52f585d27b headers 2016-02-19 19:44:39 +01:00