Commit graph

120 commits

Author SHA1 Message Date
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
Fardale
8b319edbe1
doc(core): add link to the doc of std module (#320) 2020-06-30 17:31:52 +02:00
Fourchaux
a5da43511b
comments modifs (#311) 2020-06-17 09:21:31 +02:00
Fourchaux
53febce5a9
Comments presentation (#310)
* Comments presentation
2020-06-12 09:52:50 +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
Simon Cruanes
a767e4618d wip(3.0): remove deprecated functions, in particular sequence 2020-04-24 20:16:53 -04:00
JPR
a5b8a0aa18 Substitute 'Pervasives' with 'Stdlib' 2020-03-24 10:43:49 -04:00
Fardale
0d9b4d910a clean(List): 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
7d9d9d45b8 feat(list): add indexed functions and fold_on_map
close #222
2019-12-14 16:52: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
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
1b5b23a8f1 remove unlabel, remove all traces of Result 2019-12-10 20:48:38 -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
6a90cb25e7 wip: fix retrocompat issues in cclist 2018-12-03 19:59:41 -06:00
Simon Cruanes
197b4e7f1b prepare for 2.4 2018-11-30 10:40:13 -06:00
Simon Cruanes
1d3ba3a6f1 doc: fix small inaccuracy in comments and API 2018-10-13 19:09:36 -05: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
Francois Berenger
1e21784ce1 added List.counts, related to List.count (#230)
- add `List.count_true_false` related to `List.count`
2018-10-08 20:43:06 -05:00
Simon Cruanes
d4a9b0a8d1 prepare for 2.3 2018-08-06 11:52:01 -05:00
Simon Cruanes
1a4919af29 add relation ops CCList.{group_by,join,join_by,join_all_by,group_join_by} 2018-05-29 11:04:08 -05:00
JPR
1727cc8199 Few Comments corrections 2018-04-08 18:39:23 -05:00
Simon Cruanes
6e50ff41c6 prepare for 2.1 2018-03-28 20:26:17 -05:00
Simon Cruanes
5986955fb6 feat(list): add {interleave,intersperse} (closes #191) 2018-03-28 20:10:14 -05:00
JPR
d18d9fb636 Comments - Style & typos fixing 2018-03-15 23:09:31 -05:00
Simon Cruanes
b3c796176d reindent 2018-02-07 08:22:41 -06:00
nathan moreau
3e2fbce3ee Comments - few changes 2018-02-07 14:36:03 +01:00
Simon Cruanes
c382c1c2e5 prepare for 2.0+alpha2 2018-02-01 19:18:17 -06:00
nathan moreau
00b2638ae7 Adding more comments 2018-01-30 14:07:05 +01:00
nathan moreau
b0d92f44ea Adding CCList.tail_opt 2018-01-26 09:25:17 +01:00
Simon Cruanes
446ae9f26b prepare for 2.0 2018-01-21 15:38:34 -06:00
Simon Cruanes
bc27e60a81 reindent 2018-01-21 14:39:44 -06:00
nathan moreau
25f919070f Adding comments 2 2018-01-21 17:09:42 +01:00
nathan moreau
b04e097cf4 Adding comments 2018-01-21 16:16:35 +01:00
Stavros Polymenis
796702a732 Add CCList.iteri2 and CCList.foldi2 2018-01-18 18:07:19 +00:00
Jacques-Pascal Deplaix
ff69945575 Shadow polymorphic functions in CCList 2018-01-14 23:33:39 +00:00
Jacques-Pascal Deplaix
35c2d0ed54 Fix tests 2018-01-14 23:32:13 +00:00
Jacques-Pascal Deplaix
9622f6f6ff Avoid uses of the polymorphic operators 2018-01-14 23:32:13 +00:00
Simon Cruanes
631b33f62e fix doc 2018-01-14 16:21:59 -06:00
Simon Cruanes
18c9f88411 prepare for 1.5 2018-01-02 18:14:32 +01:00
Simon Cruanes
7f6cb0f673 have CCList.{get,insert,set}_at_idx work with negative indices 2017-12-25 17:30:00 +01:00
Jacques-Pascal Deplaix
4b30aba080 Allow negative indexes in CCList.remove_at_idx 2017-12-23 15:35:35 +00:00
Jacques-Pascal Deplaix
78ee7e5c2f Add List.count 2017-12-03 21:30:26 +00:00
Simon Cruanes
946a585a9e backport some functions added in 4.05 in CCList 2017-11-29 14:58:35 +01:00
Simon Cruanes
92c683a9c4 doc: CCList.cartesian_product returns results in unspecified order (close #154) 2017-10-27 15:39:01 +02:00
Simon Cruanes
c575f97369 whitespace 2017-07-29 19:24:37 +02:00
Simon Cruanes
bedf9ecc1e prepare for 1.3 2017-07-29 18:08:58 +02:00