Yeah, in general iterating efficiently over some resource while also handling safe disposal, errors, being memory-efficient, etc., is pretty difficult. You may want to take a look at [ANN] First release of streaming
yawaramin
33
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| A lexer using the Seq module | 9 | 1369 | May 29, 2022 | |
| How do you read the lines of a text file… | 9 | 6129 | November 18, 2021 | |
| Does this function have a name? | 7 | 765 | February 1, 2023 | |
| Unexplained Sys_error "Bad file descriptor" | 6 | 2631 | April 22, 2018 | |
| In Cygwin, OCaml outputs CRLF line endings but inputs only LFs leading to End_of_file | 4 | 869 | June 18, 2021 |