package biocaml
The OCaml Bioinformatics Library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.11.0.tar.gz
md5=486aeb3e552dabae85839e2af30d6c52
sha512=4ed2df0b7cbd80bd6e29bd8fee9d2dacd9379ad0f4ff142bd8e16ade3f1507f6cc7cbe4c614943b8feb8fa4705935695cb458606b0da813dbf255b1e566a43cf
doc/biocaml.ez/Biocaml_ez/Lines/Transform/index.html
Module Lines.Transform
Source
Transforms from/to Lines.item
.
Return a transform that converts a stream of arbitrary strings to a stream of lines. If the input terminates without a newline, the trailing string is still considered a line.
Source
val group2 :
unit ->
(item, (item * item, [> `premature_end_of_input ]) Core_kernel.result)
Biocaml_unix.Tfxm.t
Return a transform that converts a stream of lines to a stream of pairs of lines. It is considered an error if input ends with an odd number of lines.
Source
val item_to_string :
?buffer:[ `clear of int | `reset of int ] ->
unit ->
(item, string) Biocaml_unix.Tfxm.t
Return a transform that output Line.item
s to strings (in other words a buffer with the lines plus their end-of-line character).
Source
val make :
?name:string ->
?filename:string ->
next:
(Buffer.t -> [ `not_ready | `output of ('b, 'errnext) Core_kernel.result ]) ->
on_error:
([ `next of 'errnext
| `incomplete_input of Biocaml_unix.Pos.t * string list * string option ] ->
'err) ->
unit ->
(string, ('b, 'err) Core_kernel.result) Biocaml_unix.Tfxm.t
Build a stoppable line-oriented parsing_buffer.
Source
val make_merge_error :
?name:string ->
?filename:string ->
next:
(Buffer.t ->
[ `not_ready
| `output of
('a,
[> `incomplete_input of
Biocaml_unix.Pos.t * string list * string option ] as 'b)
Core_kernel.result ]) ->
unit ->
(string, ('a, 'b) Core_kernel.result) Biocaml_unix.Tfxm.t
Do like make
but merge `incomplete_input _
with the errors of ~next
(which must be polymorphic variants).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>