package b0
Software construction and deployment kit
Install
Dune Dependency
Authors
Maintainers
Sources
b0-0.0.2.tbz
sha512=78fd9e53b84cf5d6bf497adaf4b6d7d974134044318639cdfe5e01c7faaa8d987d04769abe3b3b1cbdb937132e21d8723dc185cd3c68433a793278907a8e757e
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