Commit graph

383 commits

Author SHA1 Message Date
Simon Cruanes
96ed8a37ab feat: introduce shim modules for 4.08 compat
- also make `unlabel` an explicit operation
- use `Stdlib` instead of `Pervasives`
- remove some warnings in Format
2019-06-14 18:26:14 -05:00
Simon Cruanes
3712db3a5b chore: use iter, not sequence, in tests 2019-04-13 03:20:56 -05:00
Simon Cruanes
c893716c1a feat: add remove function to het map/tbl 2019-02-16 16:15:24 -06:00
Simon Cruanes
c10ad46fbd prepare for 2.5 2019-02-02 14:03:22 -06:00
Calascibetta Romain
052e607c5c CCFQueue.t must be covariant 2019-01-21 17:53:26 +00:00
Calascibetta Romain
23f759b984 Use GADT to discard impossible case on CCFQueue. 2019-01-21 17:53:26 +00:00
Simon Cruanes
f8d9e33900 fix(funvec): expose pop, fix off by one error
close #241
2018-12-11 22:57:06 -06:00
Simon Cruanes
197b4e7f1b prepare for 2.4 2018-11-30 10:40:13 -06:00
Fabian
ff58dc0b5f Fix #235 for CCRingBuffer
* Make dummy available to MakeFromArray

* Overwrite deleted elements with a dummy element to allow them to be GCed

* Test that deleted elements can be GCed
2018-11-30 10:14:09 -06:00
Simon Cruanes
da2c9e7c7c doc: abide by odoc's whims 2018-11-02 20:25:37 -05:00
Simon Cruanes
2a9795090b test: improve perf by changing random gens 2018-10-13 18:52:22 -05:00
Simon Cruanes
3b1de9a1c8 chore(build): migrate to dune 1.0 2018-09-16 19:53:40 -05:00
Simon Cruanes
d4a9b0a8d1 prepare for 2.3 2018-08-06 11:52:01 -05:00
Simon Cruanes
7f1c6ae66f feat(intmap): add is_empty function 2018-06-11 20:10:45 -05:00
Simon Cruanes
aa4b2a4680 fix(build): remove [@inline] attributes since they break on 4.02.3 2018-06-11 19:01:06 -05:00
Simon Cruanes
3e5813d72f perf(hashtrie): use int64 for 64-bits branching factor and popcount
also update style
2018-06-05 00:31:56 -05:00
Simon Cruanes
5523ed428c feat(intmap): add CCIntMap.{filter,filter_map,merge} 2018-06-04 23:36:15 -05:00
Simon Cruanes
ca0521512f test(intmap): add some tests for CCIntMap, also improve style 2018-06-04 23:32:08 -05:00
Simon Cruanes
960e704bb1 test: disable labels for tests
necessary for the consistency checks of Label modules
2018-04-08 18:48:54 -05:00
JPR
1727cc8199 Few Comments corrections 2018-04-08 18:39:23 -05:00
Simon Cruanes
f7d5177540 chore(doc): update ocamldoc markup to remove odoc warnings 2018-03-30 01:49:38 -05:00
Simon Cruanes
78d79c1317 chore: minor details in doc 2018-03-28 20:30:26 -05:00
Simon Cruanes
6e50ff41c6 prepare for 2.1 2018-03-28 20:26:17 -05:00
Simon Cruanes
972a6f2720 style: reindent 2018-03-28 19:46:57 -05:00
Simon Cruanes
b874ff9bf9 feat(Bijection): add more functions, add basic tests 2018-03-28 19:46:43 -05:00
Stavros Polymenis
89ce86eec0 Assert emptiness on both maps instead of raising custom exception.
https://github.com/c-cube/ocaml-containers/pull/211\#pullrequestreview-107483136
2018-03-28 19:35:20 -05:00
Stavros Polymenis
712b12d2f1 Add Bijection. https://en.wikipedia.org/wiki/Bijection
Discussion:
http://lists.ocaml.org/pipermail/containers-users/2018-February/000042.html
2018-03-28 19:35:20 -05:00
Simon Cruanes
f07cae6c82 detail 2018-03-18 21:53:24 -05:00
JPR
d18d9fb636 Comments - Style & typos fixing 2018-03-15 23:09:31 -05:00
Simon Cruanes
09d5b146f2 remove explicit dep on bytes in jbuild files 2018-03-12 22:45:48 -05:00
Simon Cruanes
c578dd9583 minor fixes in doc 2018-03-08 17:54:20 -06:00
Simon Cruanes
79089677af CCFun_vec: implement missing functions 2018-03-07 00:08:34 -06:00
Simon Cruanes
fe88bafe77 simplify CCFun_vec by removing transients, for now 2018-03-06 23:08:02 -06:00
Simon Cruanes
0fb25fac26 note that ccfun_vec is really experimental 2018-02-24 18:38:13 -06:00
Simon Cruanes
bff1464560 use non empty lists as indexes in Fun_vec 2018-02-15 08:30:16 -06:00
Simon Cruanes
ccad1f3a2c wip: add CCFun_vec data structure for fast functional vectors 2018-02-15 00:31:26 -06:00
Simon Cruanes
44f6c748aa improve test speed and update some doc 2018-02-11 09:52:27 -06:00
Simon Cruanes
d4fafab9b7 more tests 2018-02-07 20:38:01 -06:00
Simon Cruanes
b3c796176d reindent 2018-02-07 08:22:41 -06:00
nathan moreau
3e2fbce3ee Comments - few changes 2018-02-07 14:36:03 +01:00
Simon Cruanes
27c768eebf fix bug in CCRAL.drop (see #184) 2018-02-04 12:39:06 -06:00
Simon Cruanes
5814f23d16 add more tests to CCRAL and others 2018-02-04 12:38:17 -06:00
rand00
cfb8e55eba CCRAL: drop: Added test for bugfix. 2018-02-04 18:54:56 +01:00
rand00
5b6b71373c CCRAL: Fixed bug in drop_tree_. 2018-02-04 17:30:29 +01:00
Simon Cruanes
446ae9f26b prepare for 2.0 2018-01-21 15:38:34 -06:00
Simon Cruanes
bc27e60a81 reindent 2018-01-21 14:39:44 -06:00
nathan moreau
cde776f4ac Small typos 2018-01-21 20:29:51 +01:00
Simon Cruanes
bc622f636a fix tests for sequence 1.0 2018-01-17 20:04:03 -06:00
Simon Cruanes
d97e1e7231 add script to generate jbuilder flags dynamically 2018-01-14 20:38:40 -06:00
Simon Cruanes
fc329fa118 rename print to pp for Format printers (closes #153) 2018-01-14 17:58:20 -06:00