Commit graph

2516 commits

Author SHA1 Message Date
Fardale
576ee2ede8 feat(Int64): complete CCInt64 with regards to CCInt 2020-05-23 11:37:56 +02:00
Fardale
b7dcc7ed2a chore(int32): change order of definition 2020-05-23 11:37:56 +02:00
Fardale
92b31bedb2 chore(int64): remove duplicate functions between Int64 and CCInt64 2020-05-23 11:37:56 +02:00
Fardale
e574309763 feat(CCInt32): complete CCInt32 with regards to CCInt 2020-05-23 11:37:56 +02:00
Fardale
102ad62075 fix: correct module name in Invalid_argument for CCInt.range_by 2020-05-23 11:37:56 +02:00
Fardale
b06155f05b implement CCInt.sign using CCInt.compare and add more doc 2020-05-23 11:37:56 +02:00
Fardale
eaa421c62d chore(int): include module Int for ocaml >= 4.08 2020-05-23 11:37:56 +02:00
Fardale
8f5c7c8fe9 feat(int): add elements of Int module from the std 2020-05-23 11:37:56 +02:00
Simon Cruanes
5dd90edafa add CCResult.get_lazy 2020-05-21 15:26:27 -04:00
Simon Cruanes
d7a7cbb170 feat: add Int.popcount operator 2020-05-18 14:04:42 -04:00
Simon Cruanes
4b09adaa5a fix typo 2020-05-15 15:28:27 -04:00
Raphael Sousa Santos
4936cb60d4 Add CCFloat.pi 2020-05-15 14:27:59 -05:00
Simon Cruanes
18222af1a3 perf: a few more inline annotations 2020-05-12 12:46:12 -04:00
Simon Cruanes
97e49b6a5c fix: expose always_eq/never_eq in CCEqual
see #232
2020-05-06 10:33:28 -04:00
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
d99d35cc70 chore: travis detail 2020-04-30 22:19:28 -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
0fea0ea522 opam and travis 2020-04-24 22:47:37 -04:00
Simon Cruanes
5d536afb68 try to fix test 2020-04-24 22:24:05 -04:00
Simon Cruanes
d7bf01f118 chore: update travis 2020-04-24 21:43:35 -04: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
da46adb370 chore: split into distinct packages for containers-data and containers-thread 2020-04-24 18:59:39 -04:00
Simon Cruanes
e43f658fa9
Merge pull request #299 from copy/master
add more benchmarks
2020-04-19 17:28:14 -05:00
Fabian
b82d31adf1 Improve use of opaque_identity 2020-04-19 18:05:14 +02:00
Fabian
dafae58e15 Extend benchmark: to_array, cons and cons_fold 2020-04-19 17:59:14 +02:00
Fabian
d681a34caa Extend benchmark: Sek, iter and pop 2020-04-19 17:58:39 +02:00
Fabian
a1233392f0 fix naming 2020-04-19 17:46:00 +02:00
Fabian
d72907302a Disable core_kernel test for now 2020-04-19 17:42:13 +02:00
Fabian
53d5a80b96 benchmark for memory usage of data structures 2020-04-19 17:37:25 +02: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