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
nathan moreau
00b2638ae7
Adding more comments
2018-01-30 14:07:05 +01:00
Simon Cruanes
bc27e60a81
reindent
2018-01-21 14:39:44 -06:00
nathan moreau
b04e097cf4
Adding comments
2018-01-21 16:16:35 +01:00
Jacques-Pascal Deplaix
9622f6f6ff
Avoid uses of the polymorphic operators
2018-01-14 23:32:13 +00:00
Simon Cruanes
4ffe1bbac3
make complexity of Array.lookup explicit ( closes #174 )
2018-01-06 17:14:00 -06:00
Simon Cruanes
d6f7f1570e
prepare for 1.4
2017-10-11 09:29:31 +02:00
Simon Cruanes
d7b90d3ba3
add CCArray.swap
2017-09-10 19:56:39 +02:00
Simon Cruanes
bedf9ecc1e
prepare for 1.3
2017-07-29 18:08:58 +02:00
Simon Cruanes
aab19f6a50
update headers; reindent
2017-07-04 13:13:24 +02:00
nilsbecker
a2b2eaec2e
small correction
2017-06-24 13:45:49 +02:00
nilsbecker
4058fc799e
typos and clarification in doc strings
...
for sort_indices, sort_ranks and lookup_exn
2017-06-24 11:59:59 +02:00
Simon Cruanes
5d768aeeb2
add CCArray.find_map{,_i}, deprecated older names ( closes #129 )
2017-05-20 13:18:36 +02:00
Simon Cruanes
3ab610ba0e
prepapre for 1.2
2017-05-01 16:59:25 +02:00
Simon Cruanes
75e3962ba1
make many modules extensions of stdlib ( close #109 )
...
for : Random Array List ArrayLabels ListLabels Char String
2017-05-01 16:54:23 +02:00
Simon Cruanes
d135f73c76
add CCArray.{fold_map,scan_left} ( close #101 )
2017-03-09 21:42:44 +01:00
Simon Cruanes
5777549c54
prepare for 1.0
2017-02-11 13:56:08 +01:00
Simon Cruanes
9b53e3c2a5
use Labels versions of CCList and CCArray
2016-12-29 11:07:44 +01:00
Simon Cruanes
b1837e7d05
add labels in CCArray
2016-11-11 00:39:58 +01:00
Simon Cruanes
4f6bce60e5
split CCArray.Sub into CCArray_slice
2016-11-03 21:24:21 +01:00
Simon Cruanes
13b283a91d
remove buffer printers, rename pretty-printers to pp
2016-11-03 18:24:11 +01:00
Simon Cruanes
b7db149e27
add CCArray.Sub.to_list
2016-11-01 11:27:07 +01:00
Simon Cruanes
7ba8f58571
fix typo
2016-10-19 23:59:23 +02:00
Simon Cruanes
2a872907a1
add CCArray.{sorted,sort_indices,sort_ranking} ( closes #81 )
2016-10-19 18:18:05 +02:00
Simon Cruanes
bc7967054f
prepare for 0.20
2016-10-14 11:33:53 +02:00
Simon Cruanes
fed7dd41e0
add functions in CCArray: fold2,iter2,map2
2016-10-13 10:04:58 +02:00