Commit graph

2156 commits

Author SHA1 Message Date
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
Fabian
0c48cff2a1 Vector push benchmark: Push all values to the same container 2018-06-01 11:32:06 -05:00
Fabian
35065393c5 More benchmarks for immutable vectors
- Add Map as a reference, as this is the only efficient implementation
  in OCaml's standard library
- Add Clarity.Vector from the clarity library
- New benchmarks for set at index and push

What's missing:

- CCFun_vec.set (no implementation)
- CCRAL.push and Clarity.Vector.push were missing and implemented
  inefficiently in terms of append
2018-06-01 11:32:06 -05:00
Simon Cruanes
1adfc01cf0 fix small detail s in CCHeap 2018-05-29 11:17:11 -05:00
juloo
ba633d5d3c Add CCHeap.Make_from_compare (#225)
Allow to pass modules implementing `compare` without implementing `leq`
2018-05-29 11:15:38 -05:00
Simon Cruanes
1a4919af29 add relation ops CCList.{group_by,join,join_by,join_all_by,group_join_by} 2018-05-29 11:04:08 -05:00
juloo
cbeab54be4 Fix Int32 and Int64 operators are not visible (#224)
Fix visibility of Int32 and Int64 infix operators

Operators are defined in the Infix module.
This module was included in the .ml file but not in the .mli file
2018-05-29 09:57:04 -05:00
Simon Cruanes
8060980266 test(float): add some tests for FP min/max 2018-05-14 18:09:39 -05:00
Simon Cruanes
841dac234a fix(float): make Float.{min,max} compliant with revised IEEE754
closes #220
2018-05-14 18:07:38 -05:00
Simon Cruanes
e825bf2916 prepare for 2.2 2018-05-10 23:13:01 -05:00
Simon Cruanes
ba87e105a0 fix(arrayLabels): compatibility with 4.07 2018-05-07 13:41:19 -05:00
JPR
822b9177e1 Improving comments presentation 2018-05-07 08:46:38 -05:00
Simon Cruanes
becc1007c2 chore: reindent 2018-04-25 20:17:32 -05:00
Etienne Millon
b27acb9bd2 Add CCOpt.return_if 2018-04-25 20:16:23 -05:00
Etienne Millon
bbda79bbcc Add CCOpt.flatten 2018-04-24 17:03:45 -05:00
Kate
d8caef8c02 Add CCString.{,r}drop_while 2018-04-20 19:13:49 -05:00
Simon Cruanes
9e105a3fbc fix stupid typo 2018-04-12 15:47:23 -05:00
Simon Cruanes
ac314aefe7 chore: remove dead link in string doc 2018-04-12 12:11:49 -05:00
Simon Cruanes
7c56bd747e fix: compatibility for CCArrayLabels 2018-04-09 21:13:56 -05:00
Simon Cruanes
33d3ee114c add many missing functions to CCListLabels 2018-04-08 18:57:15 -05:00
Simon Cruanes
fac9f18031 test: consistency CCList{,Labels} 2018-04-08 18:54:40 -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
Simon Cruanes
b672eb0e6d fix(CCListLabels): fix @since annotation 2018-04-08 18:42:11 -05:00
Simon Cruanes
b47d622f66 test: add compatibility checks between CCArray{,Labels} 2018-04-08 18:40:40 -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
c04ee13d6e fix(array): small change in signatures 2018-03-28 20:20:09 -05:00
Simon Cruanes
5986955fb6 feat(list): add {interleave,intersperse} (closes #191) 2018-03-28 20:10:14 -05:00
Simon Cruanes
89fc7f9c77 fix(string): compat 4.02 2018-03-28 20:09:05 -05:00
Simon Cruanes
55e92b4629 feat(mono): add dotted comparison operators for floats
closes #196
2018-03-28 19:53:02 -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
fe23cb496c fix: strong type aliases in Random (closes #210) 2018-03-26 11:35:31 -05:00
Simon Cruanes
323a6bb40a test: regression test for #210 2018-03-26 11:35:31 -05:00
Simon Cruanes
f07cae6c82 detail 2018-03-18 21:53:24 -05:00
JPR
2c9ed9c550 Reverting CCFormat.mli comment 2018-03-15 23:09:31 -05:00
JPR
d18d9fb636 Comments - Style & typos fixing 2018-03-15 23:09:31 -05:00
Simon Cruanes
9b804b46a5 update readme 2018-03-14 18:21:41 -05:00
Simon Cruanes
7a22286ca1 use standard List.sort_uniq 2018-03-13 00:34:49 -05:00
Simon Cruanes
09d5b146f2 remove explicit dep on bytes in jbuild files 2018-03-12 22:45:48 -05:00
Simon Cruanes
2c5cda7e3d add ?margin parameter to CCFormat.ksprintf 2018-03-09 11:27:11 -06:00
Simon Cruanes
c578dd9583 minor fixes in doc 2018-03-08 17:54:20 -06:00
Simon Cruanes
4a9b41c3cd add various functions on CCUtf8_string 2018-03-07 00:17:48 -06:00
Simon Cruanes
79089677af CCFun_vec: implement missing functions 2018-03-07 00:08:34 -06:00