Josh Berdine
06d7e26941
Switch exceptions used for control flow from global to local
...
Signed-off-by: Josh Berdine <josh@berdine.net>
2025-02-02 13:24:09 +00:00
Simon Cruanes
fc69ce4c91
faster doc build
2024-01-10 12:55:17 -05:00
Simon Cruanes
d1af13a9dd
faster CI
2024-01-10 12:52:20 -05:00
Simon Cruanes
f0f5396cc2
fix CI after renaming branch to main
2024-01-10 12:45:25 -05:00
Simon Cruanes
399e95b50f
reformat
2024-01-09 17:39:18 -05:00
ilo Kali
92d0022079
Update Iter.ml to use mutable fields instead of refs ( #44 )
...
Update Iter.ml to use mutable fields instead of refs
`type 'a node = Nil | Cons of 'a array * int ref * 'a node ref` was changed to `type 'a node = Nil | Cons of { a : 'a array; mutable n : int; mutable tl : 'a node }` and all functions in MList were updated accordingly
2024-01-09 17:38:47 -05:00
Simon Cruanes
4f47de66fe
prepare for 1.8
2023-11-15 23:15:35 -05:00
Simon Cruanes
90e44a59a9
try to fix CI
2023-11-15 23:02:55 -05:00
Simon Cruanes
63c99cf2ba
Update tests/unit/t_iter.ml
2023-11-15 22:50:16 -05:00
Olivier Nicole
4bf00eabad
Add Iter.map_while
2023-11-15 22:50:16 -05:00
Master Builder
67c46b6ce4
fix(map_by_2): Fixed formatting
2023-08-04 21:11:57 -04:00
Master Builder
6fdbc2c88f
fix(map_by_2): Fixed bug in implementation and added some unit tests
2023-08-04 21:11:57 -04:00
Simon Cruanes
e72026b616
Merge pull request #41 from mooreryan/build-warnings
...
Disable warning 70
2023-06-11 22:05:02 -04:00
Ryan M. Moore
c446508746
Disable warning 70
...
Disable warning 70 (missing-mli, Cannot find interface file) in the benches and examples.
2023-06-11 12:50:16 -04:00
Simon Cruanes
d410860533
prepare for 1.7
2023-05-15 09:18:15 -04:00
Simon Cruanes
37a160579a
remove deps no longer needed
2023-05-15 09:18:15 -04:00
Simon Cruanes
c4c2630b60
ci: do not run on 4.03 anymore
2023-05-04 12:39:28 -04:00
Simon Cruanes
02c3e954bf
add let operators in Infix
2023-05-04 12:33:00 -04:00
Simon Cruanes
303686319d
remove shims, require OCaml >= 4.08
2023-05-04 12:32:42 -04:00
Simon Cruanes
29cabc46eb
Merge pull request #40 from mooreryan/random-iter-docs
...
Add docs about seeding random generator
2023-05-03 21:20:36 -04:00
Ryan M. Moore
b65be73022
Add seeding section with example
2023-05-03 18:34:24 -04:00
Ryan M. Moore
8322b2b201
Add docs about seeding random generator
2023-05-03 15:26:49 -04:00
Simon Cruanes
f1d14dd030
fix: IO.write_lines should produce an empty file for an empty iter
2023-04-21 14:37:10 -04:00
Simon Cruanes
df3a3de2ae
test: add regression test for #38
2023-04-21 14:37:10 -04:00
Simon Cruanes
29ece562e2
prepare for 1.6
2022-10-20 10:36:38 -04:00
Simon Cruanes
c7ff44ffe4
fix
2022-10-18 16:56:57 -04:00
Simon Cruanes
f36a9fc5fc
move benchs out of src/
2022-10-18 16:48:13 -04:00
Simon Cruanes
e02e19cd4e
chore: CI
2022-10-18 16:12:04 -04:00
Simon Cruanes
8983f3410a
doc
2022-10-18 15:42:59 -04:00
Simon Cruanes
d822d023a2
chore
2022-10-18 15:41:38 -04:00
Simon Cruanes
d1e0400c07
detail
2022-10-18 15:37:46 -04:00
Simon Cruanes
fc254a5d89
add ocamlformat; reformat; migrate off qtest
2022-10-18 15:31:14 -04:00
Simon Cruanes
688689b18b
prepare for 1.5
2022-07-06 22:13:38 -04:00
Simon Cruanes
a3b3426365
forgot value in labels
2022-03-19 10:24:38 -04:00
Simon Cruanes
173da38366
use Seq, remove Stream entirely to be ready for OCaml 5.0; add of_gen_once
2022-03-19 10:24:04 -04:00
Simon Cruanes
65ab9376b0
prepare for 1.4
2022-02-22 11:05:27 -05:00
Rudi Grinberg
8be2428829
fix: dune files
...
%{deps} is expanded into a list so we cannot use it in as a diff? param
2022-02-15 11:36:35 -05:00
Simon Cruanes
b4ceba4cb0
Merge pull request #35 from ghulette/master
...
Added `for_each` and `for_eachi`
2022-01-08 22:53:26 -05:00
Simon Cruanes
66dec7710b
add missing @since
2022-01-07 16:57:26 -05:00
Geoff Hulette
84061bcb69
Added for_each and for_eachi
2022-01-07 13:11:48 -08:00
Simon Cruanes
40891d29aa
opam: disable tests on arm32
2021-11-19 17:09:11 -05:00
Simon Cruanes
2eae2170b5
prepare for 1.3
2021-11-19 10:16:11 -05:00
Simon Cruanes
40aa539f67
chore: add CI for doc
2021-11-19 10:12:42 -05:00
Simon Cruanes
02e2ae61d2
chore: disable macOS in CI
2021-11-19 10:11:46 -05:00
Simon Cruanes
9020863244
cleanup
2021-11-19 10:08:00 -05:00
Simon Cruanes
b077feaafb
simplify dune setup
2021-11-19 09:52:18 -05:00
Simon Cruanes
7244b2eb5e
chore: update CI to use ocaml actions v2
2021-11-19 09:48:10 -05:00
Simon Cruanes
0d2cc1c01e
perf: add [@inline] on many combinators
2021-11-19 09:47:22 -05:00
Simon Cruanes
07e34954df
use ocaml-mdx in dune
...
requires mdx >= 1.3
close #33
2021-11-19 09:40:59 -05:00
Simon Cruanes
28f50adc63
remove sequence
2021-01-08 13:13:57 -05:00