package iter
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=dba9e5bb152e0d0db0054c36b2a9476747a284a7738f15f1195a3e2035c7e968
sha512=6c8e0fd57ebca9db642ef6105cb23353fb4f4aa2a37b49ceb61adc9881d0d42e0212326efddea183fae7e27313321680036c3932863004b1853b5fbf37c521de
CHANGELOG.md.html
1.9
Switch exceptions used for control flow from global to local
Update Iter.ml to use mutable fields instead of refs (#44)
1.8
add
Iter.map_while
fix bug in
map_by_2
, add tests
1.7
add let operators in Infix
require OCaml >= 4.08
improve docs about random iterators
fix:
IO.write_lines
should produce an empty file for an empty iter
1.6
use dune 2.0
remove qtest, format all code using ocamlformat
1.5
use Seq
remove Stream entirely to be ready for OCaml 5.0
add
of_gen_once
1.4
fix dune files for dune 3
add
for_each
andfor_eachi
1.3
use
inline
annotationsprepare for newer mdx (for tests)
1.2.1
fix: use
Stdlib
instead ofPervasives
fix: missing dep on unix for 4.08
add shims with dune magic for 4.08 compat
1.2
Rename the library to Iter.
Add
from_labeled_iter
.Use
raise_notrace
for internal exceptions.
1.1
perf: use
Set.elements
to convert to listfix(compat): compat with 4.07
Fix the reservoir sampling algorithm.
Add tests.
readme: link to gasche's blog post
readme: add some explanations and comparison with gen
1.0
remove delimcc sublib (breaking)
move to jbuilder (requires OCaml >= 4.02)
remove type
t2
(breaking)add some functions using
result
add
filter_count
0.11
make
count
lazymake
group_by
lazyadd
Sequence.append_l
add
Sequence.filter_mapi
update
SequenceLabels
with missing functionsadd
Sequence.pair_with_idx
add
{sum,sumf}
for summation over sequencesadd
seq_list
andseq_list_map
0.10
add
{union,inter,diff,subset}
add
{join_by,join_all_by,group_join_by}
add
find_map{,i}
as better alias to existing functionsadd
{max_exn,min_exn}
add
count
add
doc
andtest
to opam
0.9
distinction between
diagonal,diagonal_l
add
init,fold_map,fold_filter_map,sorted,diagonal,findi,…
fix a few typos
update readme: convert into asciidoc, add tutorial
remove deprecated functions, add missing links to
SequenceLabels
0.8
loop based implementation for
int_range_by
move files to 'src/', use qtest for tests
add
int_range_by
add
Sequence.flat_map_l
0.7
add missing entry in changelog and missing since annotations
Add
shuffle
.Add
shuffle_buffer
.Add
sample
.Add
map_by_2
.
0.6
deprecate
flatMap
andfmap
in opam file, depend on ocamlbuild
add
group_by
(ignores the ordering)alias
group_succ_by
, deprecatedgroup
iterate on booleans
open Bigarray (preparing for 4.03)
0.5.5
new module
SequenceLabels
fold_while
funimplement
Set.Adapt.of_list
for< 4.02
removed many warnings, fix tests
change name of
IO
functions (keep compat)
0.5.4
depend on
bytes
compliance with
-safe-string
sequence.bigarray
0.5.3
bugfix: interaction between
take
andis_empty
0.5.2
bugfix in
take
on_list
for mapping lists through sequences
0.5.1
Sequence.IO
module, a very very simple way to read/write filesoptions:
to_opt/of_opt/head/head_exn
0.5
conversion with
klist
add monadic, choice and applicative infix operators and
>|=
add several functions:
product2
find
,mem
doubleton
,cons
,snoc
drop_while
,take_while
...concat_str
aliases to existing functions
use
delimcc
in a new module,SequenceInvert
, in order to reverse the control flow (here with conversion to Gen)fix examples, tests and doc (about
product
)reading benchmark for persistent sequences.
replace
Bench
withBenchmark
0.4.1
persistent_lazy
use
bin_annot
0.4
API change for
persistent
more efficient implementation for
persistent
remove
TypeClass
API change for
min
/max
(in case the sequence is empty)conversion with
Gen
use Oasis
0.3.7
decreasing int range
printing functions
0.3.6.1
documentation
bugfixes
0.3.6
fmap
functors to adapt
Set
andMap
0.3.5
tests and benchmarks
join
combinatoroptimization for
Sequence.persistent
0.3.4
sort
,uniq
,group
andsort_uniq
combinators implementedsome conversion functions that use
Sequence.t2
infix operators in
Sequence.Infix
Sequence.t2
type for efficient iteration on pairs of elementssome combinators are adapted to
Sequence.t2
zip
,unzip
andzip_i
to convert betweent
andt2
added
scan
combinator
note: git log --no-merges previous_version..HEAD --pretty=%s