Commit graph

20 commits

Author SHA1 Message Date
István Donkó
14ad490c7e fix: insert missing symbol into range doc comments
Some checks failed
Build and Test / build (push) Has been cancelled
Build and Test / format (push) Has been cancelled
2025-10-27 12:03:46 -04: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
Fardale
a7b14c5620 doc: inline the stdlib doc of Seq and ListLabels 2023-03-13 11:26:23 +01:00
Fardale
a30e471a6f
fix doc (#425) 2023-02-14 20:56:15 -05:00
Nino Annighoefer
46e53ec85f Fix more typos 2022-11-26 10:19:10 +00:00
Nino Annighoefer
3ccb3e16f7 Fix typos 2022-11-26 09:53:17 +00:00
Simon Cruanes
069423bb77
prepare for 3.10 2022-11-16 10:27:20 -05:00
Fardale
b2ec88b0e1 feat(CCSeq): add some missing function from 4.14 2022-09-21 15:44:18 +02:00
Fardale
47ff9935dc include Seq in CCSeq for ocaml >= 4.07 2022-09-20 15:09:45 +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
Simon Cruanes
a2a1901630
prepare for 3.7 2022-03-24 13:46:45 -04:00
Simon Cruanes
2d30b2ae14
add CCSeq.{zip_i,of_string} 2022-01-27 13:48:49 -05:00
Simon Cruanes
e25b9fc9b4
fix @since in CCSeq 2022-01-27 13:45:01 -05:00
Shon Feder
946ac4e05d
Make CCSeq.to_array behave better with stateful sequences (#390)
Make Seq.to_array only traverse seq once

This PR suggests a change to `Seq.to_array`, which uses construction of
an intermediate list to prevent traversing the Seq twice. This requires
the allocation of an intermediate list, but it eliminates the surprising
behavior that otherwise occurs with state-full sequences, due to the
extra traversal required to obtain the length of the sequence. E.g.,
with the previous implementation, the value of `to_array` for the
sequence constructed in the test added in this commit is `[|4;5;6|]`,
while `to_list` gives `[|1;2;3|]`.
2021-12-11 21:28:10 -05:00
Fardale
099f2e176f chore(doc): adapt module docstring for the index page 2021-11-11 14:40:35 +01:00
Simon Cruanes
739dd4412c prepare for 3.3 2021-04-01 22:16:40 -04:00
Bertrand Bonnefoy-Claudet
13028c3d17 CCSeq: Add for_all and exists
The functions are implemented the same way as in `oseq` and their
documentation is inspired from their counterparts in `Stdlib.List`.
2021-03-29 18:16:44 -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
Simon Cruanes
a767e4618d wip(3.0): remove deprecated functions, in particular sequence 2020-04-24 20:16:53 -04:00