module Pipe:sig
..end
type ('a, 'b, 'c, 'd)
t = private
| |
Id : |
(* |
no transformation
| *) |
| |
Fail : |
(* |
yields empty list
| *) |
| |
Flatten : |
|||
| |
Close : |
|||
| |
Comp : |
|||
| |
Fork : |
'a
to 'b
, with a reverse transformation
from 'c
to 'd
compose f fail = fail
)val id : ('a, 'a, 'c, 'c) t
val fail : ('a, 'b, 'c, 'd) t
val flatten : ('a, 'b list, 'c, 'd) t -> ('a, 'b, 'c, 'd) t
val close : f:('b1 -> ('c1 -> 'd) -> 'b2 * ('c2 -> 'd)) ->
('a, 'b1, 'c1, 'd) t -> ('a, 'b2, 'c2, 'd) t
val compose : ('a, 'b, 'd1, 'e) Transform.transformation ->
('b, 'b2, 'c, 'd1) t -> ('a, 'b2, 'c, 'e) t
val (@@@) : ('a, 'b, 'd1, 'e) Transform.transformation ->
('b, 'b2, 'c, 'd1) t -> ('a, 'b2, 'c, 'e) t
val fork : ('a, 'b, 'c, 'd) t ->
('a, 'b, 'c, 'd) t -> ('a, 'b, 'c, 'd) t
val fork_l : ('a, 'b, 'c, 'd) t list -> ('a, 'b, 'c, 'd) t
val fork_comp : ('a, 'b, 'd1, 'e) Transform.transformation list ->
('b, 'b2, 'c, 'd1) t -> ('a, 'b2, 'c, 'e) t
val check : ('a, 'b, 'c, 'd) t -> unit
check pipe
checks that the features of each component of
the pipeline fit with their input.
It is assumed we start with Transform.Features.full
val print : ('a, 'b, 'c, 'd) t Transform.printer