colombe

SMTP protocol in OCaml
Library colombe
Module Colombe . Domain
type t =
| IPv4 of Ipaddr.V4.t
| IPv6 of Ipaddr.V6.t
| Extension of string * string
| Domain of string list
val compare : t -> t -> int
val equal : t -> t -> bool
val pp : t Fmt.t
module Decoder : sig ... end
val of_string : string -> ( t, [ `Msg of string ] ) result
val of_string_exn : string -> t
val to_string : t -> string
val extension : string -> string -> ( t, [ `Msg of string ] ) result
type atom
val atom : string -> ( atom, [ `Msg of string ] ) result
val atom_exn : string -> atom
val a : string -> atom
module Peano : sig ... end
type 'a domain =
| :: : atom * 'a domain -> 'a Peano.s domain
| [] : Peano.z domain
val unsafe_domain_of_list_exn : string list -> t
type 'a w
val domain : 'a domain w
val ipv4 : Ipaddr.V4.t w
val ipv6 : Ipaddr.V6.t w
val make : 'a w -> 'a -> ( t, [ `Msg of string ] ) result
val v : 'a w -> 'a -> t