package embedded_ocaml_templates

  1. Overview
  2. Docs
EML is a simple templating language that lets you generate text with plain OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.5.1.tar.gz
md5=540b7c3b5c7d5c21755556272b6ff5d7
sha512=0756d0a9a4ed247580b3e8818c8e5c53075ffe5604fe139ab30267309ab620fcfca5b0187427dc4bb27ec1ab6c538cc50fb139b5279de4a1774592f5d5af20d1

doc/embedded_ocaml_templates.common_eml/Common_eml/Template/index.html

Module Common_eml.Template

type elt =
  1. | Text of string
  2. | Code of string
  3. | Output_code of string
  4. | Output_format of string * string
type t = string * elt list
type tag_options = {
  1. slurp_before : bool;
  2. slurp_after : bool;
}
val show_tag_options : tag_options -> Ppx_deriving_runtime.string
type tag =
  1. | Code of string
  2. | Output_code of string
  3. | Output_format of string * string
type elt' =
  1. | Text of string
  2. | Whitespace of string
  3. | Tag of tag_options * tag
type t' = string * elt' list
val elt_of_tag : tag -> elt
val t_of_t' : ('a * elt' list) -> 'a * elt list
OCaml

Innovation. Community. Security.