Simon Cruanes
1a23731730
remove conditional over OCaml >= 4.08
...
in particular, all the let-ops are now unconditional!
2023-06-24 15:22:21 -04:00
Simon Cruanes
81acaaa2cb
prepare for 3.12
2023-06-06 10:26:11 -04:00
Fardale
ff3e838553
CCArray(feat): Add max,argmax,min,argmin and their _exn conterpart
2023-04-12 11:52:57 +02:00
Fardale
0a167dc3dd
doc: remove link to ocaml manual
...
The goal is to use odig to build the documentation and with odig the
comment of the function from the standard library are shown.
2023-02-15 14:32:05 +01:00
Fardale
a30e471a6f
fix doc ( #425 )
2023-02-14 20:56:15 -05:00
Simon Cruanes
069423bb77
prepare for 3.10
2022-11-16 10:27:20 -05:00
Fardale
5227fb975c
feat(CCArray): add mapi_inplace
2022-10-19 12:07:13 +02:00
Simon Cruanes
10865eaced
reformat
2022-07-04 13:36:06 -04:00
Simon Cruanes
75b498a433
prepare for 3.8
2022-06-10 23:47:21 -04:00
Fardale
70703b3512
fix: add since tag for Array.map_inplace
2022-05-12 11:19:47 +02:00
Fardale
8a71b1dcaa
feat(ccarray): add CCArray.map_inplace
2022-05-12 11:03:38 +02:00
Simon Cruanes
b837509de9
remove many more shims
2022-02-21 21:52:06 -05:00
Simon Cruanes
6f3a7d902a
remove more shims
2022-02-21 21:25:39 -05:00
Fardale
c33477c397
chore: remove unwanted comment
2021-11-12 17:38:37 +01:00
Fardale
a5822f7273
doc: inline the doc of CCShim*_ module in the doc
2021-11-12 17:34:06 +01:00
Fardale
099f2e176f
chore(doc): adapt module docstring for the index page
2021-11-11 14:40:35 +01:00
Simon Cruanes
add6a58cf5
prepare for 3.0~rc1
2020-07-28 18:15:05 -04:00
Fardale
01da25cead
break: change pp functions to take unit printer for sep/stop/start
...
sep/stop/start -> pp_sep/pp_stop/pp_start
string -> unit printer
2020-07-27 22:57:29 -04:00
Fardale
8c3d716ab1
break: rename fonction from *std_seq* to *seq*
2020-07-23 16:32:52 +02:00
JPR
0a3b04855a
... tweaks
2020-07-02 09:38:25 -05:00
Fourchaux
a5da43511b
comments modifs ( #311 )
2020-06-17 09:21:31 +02:00
Fardale
5dc96ebfa8
chore(array): clean CCArray and CCArrayLabels
...
Remove function define in the stdlib and in Infix
2020-05-23 12:52:26 +02:00
Fardale
789eee9d53
CCArray: add @since
2020-04-28 22:26:42 +02:00
Fardale
c50672ff7a
feat(CCArray): add optional argument eq to mem
2020-04-28 15:41:01 +02:00
Simon Cruanes
a767e4618d
wip(3.0): remove deprecated functions, in particular sequence
2020-04-24 20:16:53 -04:00
JPR
76c1c98bbf
Modifs comments
2020-03-16 15:56:12 -05:00
Fardale
f3719d29aa
clean(Array): remove functions defined in Stdlib
2020-03-05 17:50:30 -06:00
Simon Cruanes
5126973173
prepare for 2.8
2019-12-14 17:50:35 -06:00
Simon Cruanes
138047ef11
feat: add {to,of,add}_{iter,std_seq} where relevant; deprecations
...
deprecate `seq` named functions (for `iter`)
deprecate klist functions (for `std_seq`)
close #231
2019-12-14 16:29:07 -06:00
Simon Cruanes
c92a09ac9d
add more deprecation comments
2019-12-14 14:04:09 -06:00
Simon Cruanes
b2d9e69042
feat: put the let operators inside the Infix modules when relevant
2019-12-14 12:08:48 -06:00
Simon Cruanes
bf0227d404
feat: on 4.08, support let operators
...
close #276
2019-12-14 12:08:48 -06:00
Simon Cruanes
28f8872ef5
feat: add monoid_product to Array and Vector
2019-12-10 21:38:07 -06:00
Simon Cruanes
7cefde490b
prepare for 2.7
...
remove mdx
2019-11-12 08:49:33 -06:00
Fardale
0dafceb708
Adding to_string ( #270 )
...
* add `CCArray.to_string`
* add `CCArrayLabels.to_string`
* add `CCList.to_string`
* add `CCListLabels.to_string`
* add `CCChar.to_string`
* add `CCPair.to_string`
* add `CCHeap.to_string`
* add `CCSet.to_string`
* add `CCVector.to_string`
2019-10-30 14:26:52 -05:00
Simon Cruanes
6d02200429
fix syntax error in Array.mli
2019-10-11 16:29:50 -05:00
narimiran
3658864a5a
add CCArray.Infix
2019-10-11 16:29:50 -05:00
Simon Cruanes
21feaaf1ca
fix compilation on < 4.08
2019-06-19 10:02:55 -05:00
Simon Cruanes
7ff5aa0d18
fix: add shims for CCArray
2019-06-18 23:10:26 -05:00
Simon Cruanes
3712db3a5b
chore: use iter, not sequence, in tests
2019-04-13 03:20:56 -05:00
Simon Cruanes
bfa5d9adde
breaking: make Array.random_choose raise invalid_arg instead of not_found
2019-02-19 18:46:08 -06:00
Simon Cruanes
6a90cb25e7
wip: fix retrocompat issues in cclist
2018-12-03 19:59:41 -06:00
Christopher Zimmermann
f6e1d81ed7
Generate unlabelled interfaces from labelled ones
...
* add unlabel.ml which parses interfaces and removes labels in function declarations and docstrings. This is a quick hack, but it does the job.
* an attribute [@keep_label] can be added to the labelled arguments to mark labels like ~cmp which should stay in the "unlabelled" interface
* While augmenting the labelled interfaces I stumbled across some inconsistencies between the currend labelled / non-labelled interfaces. I used the labelling that made most sense to me and added a "FIXME" comment.
* Maybe we should break backwards compatibility at some point and name the comparison arguments to the sorting functions in CCArrayLabels.ml ~cmp instead of ~f ?
2018-10-13 19:09:35 -05:00
Simon Cruanes
9238daf7c3
fix: compat with 4.07
2018-08-07 03:23:11 -05:00
JPR
822b9177e1
Improving comments presentation
2018-05-07 08:46:38 -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
c04ee13d6e
fix(array): small change in signatures
2018-03-28 20:20:09 -05:00
nathan moreau
3e2fbce3ee
Comments - few changes
2018-02-07 14:36:03 +01:00
nathan moreau
312901550f
Style - small corrections
2018-02-01 22:22:13 +01:00