package hardcaml

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Hardcaml.With_validSource

Sourcetype ('a, 'b) t2 = ('a, 'b) Comb.with_valid2 = {
  1. valid : 'a;
  2. value : 'b;
}
Sourceval sexp_of_t2 : ('a -> Sexplib0.Sexp.t) -> ('b -> Sexplib0.Sexp.t) -> ('a, 'b) t2 -> Sexplib0.Sexp.t
Sourceval t2_of_sexp : (Sexplib0.Sexp.t -> 'a) -> (Sexplib0.Sexp.t -> 'b) -> Sexplib0.Sexp.t -> ('a, 'b) t2
Sourceval __bin_read_t2__ : 'a Bin_prot.Read.reader -> 'b Bin_prot.Read.reader -> (Base.int -> ('a, 'b) t2) Bin_prot.Read.reader
Sourcetype 'a t = ('a, 'a) t2
include Sexplib0.Sexpable.S1 with type 'a t := 'a t
Sourceval t_of_sexp : (Sexplib0.Sexp.t -> 'a) -> Sexplib0.Sexp.t -> 'a t
Sourceval sexp_of_t : ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.t
include Bin_prot.Binable.S1 with type 'a t := 'a t
Sourceval bin_size_t : ('a, 'a t) Bin_prot.Size.sizer1
Sourceval bin_write_t : ('a, 'a t) Bin_prot.Write.writer1
Sourceval bin_read_t : ('a, 'a t) Bin_prot.Read.reader1
Sourceval __bin_read_t__ : ('a, int -> 'a t) Bin_prot.Read.reader1
Sourceval bin_writer_t : ('a, 'a t) Bin_prot.Type_class.S1.writer
Sourceval bin_reader_t : ('a, 'a t) Bin_prot.Type_class.S1.reader
Sourceval bin_t : ('a, 'a t) Bin_prot.Type_class.S1.t
Sourceval value : (module Comb.S with type t = 'a) -> 'a t -> default:'a -> 'a
Sourceval map : 'a t -> f:('a -> 'b) -> 'b t
Sourceval map2 : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
Sourceval iter : 'a t -> f:('a -> Base.unit) -> Base.unit
Sourceval iter2 : 'a t -> 'b t -> f:('a -> 'b -> Base.unit) -> Base.unit
Sourceval to_list : 'a t -> 'a Base.list
Sourceval map_valid : ('a, 'b) t2 -> f:('a -> 'c) -> ('c, 'b) t2
Sourceval map_value : ('a, 'b) t2 -> f:('b -> 'c) -> ('a, 'c) t2
Sourcemodule Fields : sig ... end

Create a new hardcaml interface with type 'a With_valid.t X.t

Sourcemodule Wrap : sig ... end

Create a new hardcaml interface with type ('a, 'a X.t) With_valid.t2.

Sourcemodule Vector (X : sig ... end) : Interface.S with type 'a t = 'a t
OCaml

Innovation. Community. Security.