package uspf

  1. Overview
  2. Docs
type macro = [
  1. | `Literal of string
  2. | `Macro of char * (int option * bool) * string
  3. | `Macro_encoded_space
  4. | `Macro_space
  5. | `Macro_percent
]
type t = macro list * string option
val to_string : t -> string
val pp : t Fmt.t
val expand_string : ctx -> string -> ([ `raw ] Domain_name.t, [> `Msg of string ]) Stdlib.result