Commit graph

171 commits

Author SHA1 Message Date
Adlertz, Niclas
4294dc7ca3 Add square brackets in comment for CCList.return
Some checks failed
Build and Test / build (push) Has been cancelled
Build and Test / format (push) Has been cancelled
2025-01-28 22:19:11 -05:00
Simon Cruanes
cad41d70d6
ocamlformat 2024-12-13 00:17:53 -05:00
Simon Cruanes
e1de3da1e3
prepare for 3.15 2024-11-18 12:22:16 -05:00
Simon Cruanes
6dcaddb7c6
fixes and format 2024-11-15 11:02:38 -05:00
seprov
8d8f1d4145
Add split_result (#459)
add `CCList.split_result` (@seprov)
2024-11-15 11:01:20 -05:00
Simon Cruanes
6ab811f79b
prepare for 3.14 2024-09-10 08:47:46 -04:00
Nicola Mometto
4ff1853222
feat(CCList): add cons_when 2024-04-19 09:52:13 -04:00
Simon Cruanes
7c1ca1d82f
prepare for 3.13 2023-12-05 16:09:29 -05:00
Simon Cruanes
98ceaac8de
detail 2023-12-05 13:03:53 -05:00
Ben Bellick
73e68dae7c CCList: add unfold 2023-12-05 11:59:55 -05:00
Simon Cruanes
8c224e42fd
CCList: remove some functions that are subsumed by the stdlib 2023-11-19 21:56:10 -05:00
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
Michael Lan
adda7864e1 doc: fix typo 2023-06-15 21:58:16 -04:00
Simon Cruanes
bbfbe0f770
fix many, many warnings 2023-06-06 22:16:20 -04: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
10865eaced reformat 2022-07-04 13:36:06 -04:00
Daniil Baturin
0075378f29 feat(CCList): Add keys, values, and map_values 2022-06-01 15:49:33 +03: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
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
Fardale
302dba6cb5 chore(CCOption): rename CCOpt to CCOption and deprecate CCOpt
In the stdlib the module associated with the option type is called
Option and in containers it was called CCOpt. Renaming CCOpt to CCOption
make the name of containers module uniforme with respect to the stdlib.
2021-09-22 23:07:05 +02:00
Simon Cruanes
aa05f69471 prepare for 3.5 2021-08-04 16:49:29 -04:00
Simon Cruanes
57e810a882 Revert "small changes related to docs of sorted_diff_uniq"
This reverts commit f7a2edae25.
2021-05-25 19:19:48 -04:00
Simon Cruanes
f7a2edae25
small changes related to docs of sorted_diff_uniq 2021-05-25 19:16:37 -04:00
favonia
1c6bc16362 style(list): move sorted_mem up 2021-05-24 09:26:23 -05:00
favonia
8d532f9a00 feat(list): add sorted_diff_uniq
Also fixed documentation
2021-05-24 09:26:08 -05:00
favonia
80e403c969 feat(list): add sorted_mem 2021-05-23 00:45:18 -05:00
favonia
e58c5d8f3b fix(list): add the test sorted_diff (sorted_merge l1 l2) l2 = l1
Also fixed a typo.
2021-05-22 21:41:36 -05:00
favonia
6d2dc4ccf4 feat(list): add the optional argument all to sorted_remove
Also added another missing "since".
2021-05-22 21:27:35 -05:00
favonia
f6829d1219 fix(list): add "since" for sorted_diff
Co-authored-by: Simon Cruanes <simon.cruanes.2007@m4x.org>
2021-05-22 21:06:20 -05:00
favonia
130f0a63bb feat(list): add sorted_diff 2021-05-22 21:02:15 -05:00
favonia
8c197da02c feat(list): add sorted_remove 2021-05-22 20:28:45 -05:00
Simon Cruanes
6ace6f71e0 doc: fix wrong @since 2021-05-10 11:26:53 -04:00
Simon Cruanes
739dd4412c prepare for 3.3 2021-04-01 22:16:40 -04:00
Fardale
1975c98025 fix: wrong name in 6b52ec69
partition_filter_either -> partition_map_either
2021-02-25 18:51:33 +01:00
Fardale
6b52ec6945 feat(CCList): update with regards to partition_map
- Add partition_filter_map
- Deprecate partition_map
- Add partition_map_either that match the partition_map from the std
2021-02-25 17:31:15 +01:00
Simon Cruanes
b5ecb273ef feat: add CCList.cons'
close #354
2021-02-12 14:35:29 -05:00
Simon Cruanes
0097fd3c3d prepare for 3.2 2021-02-01 10:40:28 -05:00
Simon Cruanes
ae886c2f08 add CCList.chunks 2021-01-24 11:18:53 -05:00
Kye Shi
d5f2c6b861 CCList: add reduce function (resolves #305) 2020-12-13 17:15:43 -05:00
Simon Cruanes
ca7801a854 fix: use shims again for CCList.(and&) 2020-11-13 15:36:55 -05:00
grayswandyr
057427cb72 Apply suggestions from code review
Co-authored-by: Simon Cruanes <simon.cruanes.2007@m4x.org>
2020-11-10 18:04:27 -05:00
David Chemouil
3912b288e8 add List.combine_chop and corresponding (and&) synchronized product 2020-11-10 18:04:27 -05:00
David Chemouil
61a8cc58bd add a guard function for list comprehensions 2020-11-05 12:10:14 -05:00
Simon Cruanes
26df938968 more doc 2020-11-05 12:05:31 -05:00
Simon Cruanes
7e160106c5 doc: explain a bit more the Traverse submodule of list 2020-11-05 11:54:48 -05: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