package yocaml

  1. Overview
  2. Docs

Module Metadata.PageSource

include INJECTABLE
Sourcetype t
Sourceval inject : (module Key_value.DESCRIBABLE with type t = 'a) -> t -> (string * 'a) list

Produces a structured object, compliant to a template input from a t.

include READABLE with type t := t
Sourceval from_string : (module VALIDABLE) -> string option -> t Validate.t

Try to produces a t from an optional value.

Sourceval make : string option -> string option -> t
Sourceval title : t -> string option
Sourceval description : t -> string option
Sourceval set_title : string option -> t -> t
Sourceval set_description : string option -> t -> t
Sourceval equal : t -> t -> bool
Sourceval pp : Format.formatter -> t -> unit