Commit graph

1288 commits

Author SHA1 Message Date
Simon Cruanes
b26021a976 feat(string): add optional cutoff arg on String.edit_distance
also add more tests
2020-04-30 22:19:49 -04:00
Simon Cruanes
2153c8a5e6 fix(dune): only build containers-data.top in bytecode 2020-04-30 22:19:06 -04:00
Simon Cruanes
47b631d3f4
Merge pull request #304 from FardaleM/mem
harmonize CCList.mem and CCArray.mem
2020-04-28 16:41:50 -05:00
Fardale
7dd45a0fa8 fix(CCArray) fix use of Stdlib for ocaml < 4.07 2020-04-28 22:31:33 +02:00
Fardale
789eee9d53 CCArray: add @since 2020-04-28 22:26:42 +02:00
Fardale
4267210da9 CCArray: use raise_notrace instead of raise 2020-04-28 22:26:20 +02:00
Fardale
2faa3fbae5 chore(CCVector): rename remove to remove_and_shift 2020-04-28 08:53:35 -05:00
Fardale
c8d61a1248 feat(CCVector): add remove
remove keep the order of the element but need to move
all element after the removed one.
2020-04-28 08:53:35 -05:00
Fardale
c1461940c2 wip(3.0): rename CCVector.remove to CCVector.remove_unordered 2020-04-28 08:53:35 -05:00
Fardale
c50672ff7a feat(CCArray): add optional argument eq to mem 2020-04-28 15:41:01 +02:00
Fardale
2025a62536 feat(CCList): make mem compatible with the Stdlib
The eq argument is now optional.
2020-04-28 15:39:47 +02:00
JPR
0f9e51fbe3 Comments presentation 2020-04-26 16:17:17 -05:00
Simon Cruanes
df5151636b improvements 2020-04-24 21:11:44 -04:00
Simon Cruanes
d923795e1a remove slice APIs in string and array 2020-04-24 20:23:26 -04:00
Simon Cruanes
a767e4618d wip(3.0): remove deprecated functions, in particular sequence 2020-04-24 20:16:53 -04:00
Simon Cruanes
46e40c9165 delete containers.iter and merge parts of it into containers-data 2020-04-24 19:48:42 -04:00
Simon Cruanes
a2d07e4028 chore: update tests to accomodate for split into several libs 2020-04-24 19:27:06 -04:00
Simon Cruanes
b1b5d31665 breaking: move CCSexp into the core library, delete containers.sexp 2020-04-24 19:13:54 -04:00
Simon Cruanes
49545decbf update top packages 2020-04-24 19:07:56 -04:00
Simon Cruanes
952b664a68 test for funvec 2020-04-18 22:14:35 -04:00
Simon Cruanes
15fb26249f fix(funvec): error in pop
close #298
2020-04-18 22:10:35 -04:00
Simon Cruanes
d34b7588b0 test: another test 2020-03-29 21:50:39 -04:00
juloo
203723d350 CCSexp: Escape empty atoms
Otherwise (`List [ `Atom "" ]) would be formatted as "()", which is (`List []).
2020-03-29 20:48:56 -05:00
JPR
a5b8a0aa18 Substitute 'Pervasives' with 'Stdlib' 2020-03-24 10:43:49 -04:00
JPR
76c1c98bbf Modifs comments 2020-03-16 15:56:12 -05:00
Simon Cruanes
fb6483539e feat(fmt): add exn combinator 2020-03-07 11:26:00 -06:00
Simon Cruanes
d12213da31 doc: missing raise annotation 2020-03-07 11:25:49 -06:00
Simon Cruanes
dc10a55a75 fix typo
close #289
2020-03-06 08:37:02 -06:00
Fardale
93be8b2cd8 fix *Labels.mli for ocaml <= 4.04 2020-03-05 17:50:30 -06:00
Fardale
c59147f1d1 clean(String): remove functions defined in Stdlib 2020-03-05 17:50:30 -06:00
Fardale
baec1f466e clean(Set): remove functions defined in Stdlib 2020-03-05 17:50:30 -06:00
Fardale
71a3ebdeb5 clean(Nativeint): remove functions defined in Stdlib 2020-03-05 17:50:30 -06:00
Fardale
80ad2f349f clean(Map): remove functions defined in Stdlib 2020-03-05 17:50:30 -06:00
Fardale
0d9b4d910a clean(List): remove functions defined in Stdlib 2020-03-05 17:50:30 -06:00
Fardale
4f0e219036 clean(Int64): remove functions defined in Stdlib 2020-03-05 17:50:30 -06:00
Fardale
7821e8e259 clean(Int32): remove functions defined in Stdlib 2020-03-05 17:50:30 -06:00
Fardale
b96f7d6e68 clean(Char): remove functions defined in Stdlib 2020-03-05 17:50:30 -06:00
Fardale
f3719d29aa clean(Array): remove functions defined in Stdlib 2020-03-05 17:50:30 -06:00
Fardale
2bde1e4dd3 doc(CCInt): add doc for of_float 2020-03-05 15:42:24 +01:00
Simon Cruanes
cd26e3d3a3 IO: add copy_into for transferring data between channels 2020-01-28 13:03:08 -06:00
Fardale
8c43e345ad doc(CCFloat): document the rounding behavior
fixes #237
2020-01-24 23:01:47 +01:00
Fardale
d1a5e047fe feat(CCResult): add get_lazy
fixes #285
2020-01-24 22:57:25 +01:00
Fardale
9d083df3a6 feat(CCInt): add of_float 2020-01-18 16:16:52 +01:00
Fardale
2d1ba8d925 feat(CCInt): add of_string_exn 2020-01-18 15:57:55 +01:00
Simon Cruanes
c1b976d0d3 Merge branch 'br-2.8.1' 2020-01-13 08:30:19 -06:00
Fabian
50042d6c09 Document raising behaviour of CCIO.tee 2020-01-12 20:30:18 -06:00
Fabian
2bf052ab7a Avoid catch-all handlers 2020-01-12 20:30:18 -06:00
Simon Cruanes
8c33147d06 add some tests 2020-01-12 20:28:22 -06:00
Simon Cruanes
527c4414d9 prepare for 2.8.1 2020-01-12 18:18:33 -06:00
Simon Cruanes
2e3393f81e fix: add missing CCVector.of_iter 2020-01-12 18:18:33 -06:00