package gen
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Iterators for OCaml, both restartable and consumable
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.5.3.tar.gz
md5=f242db157222474b9715fef49a1259a4
sha512=192178de106d2ae5f936caead8b21b4b9ec1b8fe35ba56296825900ea15a4ea702caf8824ac34d4478d107b954e22c3dffd81f12d4c08fbd6d9760f49a0deb14
doc/gen/Gen/IO/index.html
Module Gen.IOSource
with_in filename f opens filename and calls f g, where g is a generator of characters from the file. The generator is only valid within the scope in which f is called.
with_lines filename f opens file filename and calls f g, where g is a generator that iterates on the lines from the file. Do not use the generator outside of the scope of f
Source
val write_str :
?mode:int ->
?flags:open_flag list ->
?sep:string ->
string ->
string t ->
unitwrite_to filename g writes all strings from g into the given file. It takes care of opening and closing the file. Does not add sep after the last string.
Same as write_str but with individual characters
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>