package biotk

  1. Overview
  2. Docs
type 'a t = private (GLoc.t * 'a) list

Sorted association list

val of_alist : (GLoc.t * 'a) list -> 'a t
val of_list : 'a list -> f:('a -> GLoc.t) -> 'a t
val to_alist : 'a t -> (GLoc.t * 'a) list
val filter : 'a t -> f:(GLoc.t -> 'a -> bool) -> 'a t
val fold_neighbors : 'a t -> 'b t -> init:(GLoc.t -> 'a -> 'c) -> f:(GLoc.t -> 'b -> 'c -> 'c) -> 'c t
val matching : mode:[ `Interval | `Point ] -> max_dist:int -> 'a t -> 'b t -> [> `Match of (GLoc.t * 'a) * (GLoc.t * 'b) | `Left of GLoc.t * 'a | `Right of GLoc.t * 'b ] list
OCaml

Innovation. Community. Security.