package mrmime

  1. Overview
  2. Docs
val sp : int -> elt list

sp n adds n spaces which may be wrapped.

val v : string -> elt list

v text will produce text literally.

val e : encoding:Encoded_word.encoding -> string -> elt list

e ~encoding text will produce text encoded as encoding.

val compile : elt list list -> t

Assemble a list of the above into a complete field content.

val concat : elt list -> elt list -> elt list

List concatenation, specialized for our purpose.

val (@) : elt list -> elt list -> elt list

This is an alias for concat.

OCaml

Innovation. Community. Security.