package biocaml
The OCaml Bioinformatics Library
Install
Dune Dependency
Authors
Maintainers
Sources
biocaml-0.11.2.tbz
sha256=fae219e66db06f81f3fd7d9e44717ccf2d6d85701adb12004ab4ae6d3359dd2d
sha512=f6abd60dac2e02777be81ce3b5acdc0db23b3fa06731f5b2d0b32e6ecc9305fe64f407bbd95a3a9488b14d0a7ac7c41c73a7e18c329a8f18febfc8fd50eccbc6
doc/biocaml.unix/Biocaml_unix/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.
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) 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.result ]) ->
on_error:
([ `next of 'errnext
| `incomplete_input of Pos.t * string list * string option ] ->
'err) ->
unit ->
(string, ('b, 'err) Core.result) 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 Pos.t * string list * string option ] as 'b)
Core.result ]) ->
unit ->
(string, ('a, 'b) Core.result) 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)"
>