package b0
Software construction and deployment kit
Install
Dune Dependency
Authors
Maintainers
Sources
b0-0.0.4.tbz
sha512=665735c8b7a8674201be765bdd676a18d1e38eff35de9d44c3dc15e2bfed2247e8963c9a32ae62d9ca2d6cd1edebd849aac29fdd5a846c14a30feea3edfc0601
doc/b0_b00_kit/B00_lines/index.html
Module B00_lines
Parse text lines.
And do it regardless of the platform line ending convention.
Lines
A line is ends either with "\n"
or with "\r\n"
.
of_string s
are s
's lines, including empty ones. In particular, this is [""]
on the empty string.
val fold :
?file:B00_std.Fpath.t ->
string ->
(int -> string -> 'a -> 'a) ->
'a ->
('a, string) Stdlib.result
Parse errors
err n fmt
formats an error message for line n
as "%d:" ^^ fmt
and raises Failure
with no trace.
val err_file : ?file:B00_std.Fpath.t -> string -> ('a, string) Stdlib.result
err_file ~file e
is the error message e
for file file
formatted as "%a:%s" Fpath.pp_unquoted f s
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page