c-cube / iter

Simple iterator abstract datatype, intended to iterate efficiently on collections while performing some transformations.
https://c-cube.github.io/iter
BSD 2-Clause "Simplified" License
118 stars 11 forks source link

document pros/cons of seq/sequence/gen #19

Closed c-cube closed 4 years ago

c-cube commented 5 years ago

maybe draw from existing blog posts/readme (including the gagallium post from gasche)

pmetzger commented 5 years ago

Can you link to the blog posts? If you throw together (in a few minutes) a not-really document with no more than a paragraph or two of what it should contain and links to the things you want to steal from, that might be enough for someone like me to start filling it out.

c-cube commented 5 years ago

http://gallium.inria.fr/blog/generators-iterators-control-and-continuations/ my talk at some OUPS: http://cedeela.fr/~simon/talks/sequence.pdf

for a short explanation of the differences:

pmetzger commented 5 years ago

Where would you like such a document to be placed ultimately? And what should it be written in?

c-cube commented 5 years ago

Good question, since it concerns all three libraries (gen, sequence, oseq/seq/stdlib). I think it should be a markdown file, I can host it somewhere (or we could make it into a gist?)

bluddy commented 5 years ago

How about ocamlverse?

c-cube commented 5 years ago

We could have a copy of it on ocamlverse, sure. I'd still like the source to also be in one of the iterators' repositories.