package gen
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val with_in :
?mode:int ->
?flags:Pervasives.open_flag list ->
string ->
(char t -> 'a) ->
'a
read 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.
val write_str :
?mode:int ->
?flags:Pervasives.open_flag list ->
?sep:string ->
string ->
string t ->
unit
write_to filename g
writes all strings from g
into the given file. It takes care of opening and closing the file.
val write :
?mode:int ->
?flags:Pervasives.open_flag list ->
string ->
char t ->
unit
Same as write_str
but with individual characters
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>