package mrmime

  1. Overview
  2. Docs
type 'a t =
  1. | Date : Date.t t
  2. | Mailboxes : Mailbox.t list t
  3. | Mailbox : Mailbox.t t
  4. | Addresses : Address.t list t
  5. | MessageID : MessageID.t t
  6. | Unstructured : Unstructured.t t
  7. | Content : Content_type.t t
  8. | Encoding : Content_encoding.t t
    (*

    Type of kind of values according RFC2045/RFC5322.

    *)
type witness =
  1. | Witness : 'a t -> witness
    (*

    Witness type to be able to manipulate t.

    *)
type field =
  1. | Field : Field_name.t * 'a t * 'a -> field
    (*

    Type of field.

    *)
val make : Field_name.t -> 'a t -> 'a -> field

make field_name w v returns a field.

val pp : Format.formatter -> field -> unit

Pretty-printer of field.

Decoder of field.

module Decoder : sig ... end

Encoder of field.

module Encoder : sig ... end
OCaml

Innovation. Community. Security.