Commit graph

1072 commits

Author SHA1 Message Date
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
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
Simon Cruanes
ea4a4e4ffb utf8string: detect overlong encodings
- also, stronger tests for utf8string
2018-03-07 00:08:27 -06:00
Simon Cruanes
fe88bafe77 simplify CCFun_vec by removing transients, for now 2018-03-06 23:08:02 -06:00
Simon Cruanes
be76d6bf91 fixes in utf8_string: remove some forbidden cases 2018-03-06 23:07:59 -06:00
Simon Cruanes
640ab72bb2 bugfix in CCVector.slice_seq 2018-03-06 22:28:11 -06:00
Simon Cruanes
6b5735a318 fix compat with 4.02 2018-03-06 22:27:52 -06:00
Simon Cruanes
30fca7ae9e add CCUtf8_string with basic encoding and decoding functionalities 2018-03-06 22:16:17 -06:00
Simon Cruanes
524658fb0f add some doc 2018-03-06 10:15:33 -06:00
Nicola Mometto
8f4c1a24b7 default uses labelled argument 2018-03-06 10:12:20 -06:00
Nicola Mometto
68ad3d7408 Add <|> to CCLazy_list 2018-03-06 10:12:20 -06:00
JPR
8d3981d983 Adding CCNativeint 2018-02-28 08:43:14 -06:00
Simon Cruanes
98bb766de6 fix ccint 2018-02-27 21:37:28 -06:00
Simon Cruanes
da6d4a72fa enrich CCInt.Infix to get a uniform interface with CCInt{32,64} 2018-02-27 21:12:04 -06:00
Simon Cruanes
9f2ef2f461 add CCInt{32,64}.Infix 2018-02-27 21:09:35 -06:00
JPR
4a317e57c1 Correction containers.ml file 2018-02-27 20:34:37 -06:00
JPR
d8c16ec95b Adding CCInt32 module 2018-02-27 20:34:37 -06:00
Simon Cruanes
5f0b648845 update printers names in containers.top (closes #201) 2018-02-26 19:47:24 -06:00
Simon Cruanes
0fb25fac26 note that ccfun_vec is really experimental 2018-02-24 18:38:13 -06:00
Simon Cruanes
fe16608524 add CCHash.combine{5,6} 2018-02-21 10:21:36 -06:00
Christopher Zimmermann
dabb7de24a Add infix operators to CCFloat 2018-02-17 21:05:36 +01:00
Simon Cruanes
62ba3c00af make CCInt64 compatible with Int64 (breaking!) (closes #192)
conversion functions are total, even when the bit widths do not
correspond. Returning options does not make sense in this context.
2018-02-17 10:25:57 -06:00
Simon Cruanes
580dc58979 remove junk file 2018-02-17 10:16:45 -06:00
Simon Cruanes
1640ee89f2 add missing signatures of CCArrayLabels (closes #193) 2018-02-17 10:16:08 -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
Etienne Millon
f1adbcf2f3 Add CCFun.iterate
This adds a new `CCFun.iterate` function that computes the nth-iterate
of a function. That is, that function composed with itself n times.
2018-02-14 15:39:08 +01:00
Simon Cruanes
6b9f39d224 prepare for 2.0 2018-02-11 09:57:06 -06:00
Simon Cruanes
44f6c748aa improve test speed and update some doc 2018-02-11 09:52:27 -06:00
Simon Cruanes
35f9b32a5b add CCFormat.lazy_{or,force} for printing thunks 2018-02-09 14:20:46 -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