gen icon indicating copy to clipboard operation
gen copied to clipboard

Simple, efficient iterators for OCaml

Results 4 gen issues
Sort by recently updated
recently updated
newest added

I have the following code to consume all stdin from user and abstract them over a genrator API: ```ocaml let read_lineedit () = print_string "> "; read_line () let gen_lines...

Possibly worth mentioning: how do you produce an “infinite” range of integers? This is what I did: ``` Gen.int_range 0 max_int ```

i have not found a way to take only every nth element -- is this possible? have i missed it? more generally, one could think of a list of 'step...