package lambda-term

  1. Overview
  2. Docs
val of_string : Zed_utf8.t -> t
val to_string : t -> Zed_utf8.t
val of_string_maybe_invalid : string -> t
val of_rope : Zed_rope.t -> t
val to_rope : t -> Zed_rope.t
val stylise : string -> LTerm_style.t -> t
val stylise_parenthesis : t -> ?paren:(CamomileLibrary.UChar.t * CamomileLibrary.UChar.t) list -> int -> LTerm_style.t -> unit
type item =
  1. | S of Zed_utf8.t
  2. | R of Zed_rope.t
  3. | B_bold of bool
  4. | E_bold
  5. | B_underline of bool
  6. | E_underline
  7. | B_reverse of bool
  8. | E_reverse
  9. | B_fg of LTerm_style.color
  10. | E_fg
  11. | B_bg of LTerm_style.color
  12. | E_bg
type markup = item list
val eval : markup -> t