package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type controls
val last : controls -> Sihl__.Data_ql.Page.t option
val next : controls -> Sihl__.Data_ql.Page.t option
val previous : controls -> Sihl__.Data_ql.Page.t option
val first : controls -> Sihl__.Data_ql.Page.t option
val pp_controls : Format.formatter -> controls -> unit
val show_controls : controls -> string
val equal_controls : controls -> controls -> bool
val controls_to_yojson : controls -> Yojson.Safe.t
type 'a t = {
  1. member : 'a list;
  2. total_items : int;
  3. controls : controls;
}
val create : page:Sihl__.Data_ql.Page.t -> meta:Sihl__.Data_repo_core.Meta.t -> 'a list -> 'a t
val controls : 'a t -> controls
val total_items : 'a t -> int
val member : 'a t -> 'a list
val pp : (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a t -> unit
val show : (Format.formatter -> 'a -> unit) -> 'a t -> string
val equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool
val to_yojson : ('a -> Yojson.Safe.t) -> 'a t -> Yojson.Safe.t
OCaml

Innovation. Community. Security.