package oasis

  1. Overview
  2. Docs
Tooling for building OCaml libraries and applications

Install

dune-project
 Dependency

Authors

Maintainers

Sources

oasis-0.4.11.tar.gz
sha256=18b73deef4ed6e9a83337f24b3bbe2ded65268b3ff7309fcc00d25e57e1dc12e
md5=98492f4657c2c5b30e3b1bc945e58419

doc/oasis/FormatExt/index.html

Module FormatExt

Extra functions for Format

Format functions that uses markdown syntax.

  • author Sylvain Le Gall
val pp_print_string_spaced : Format.formatter -> string -> unit

Print a string considering ' ' as Format space.

val pp_print_list : (Format.formatter -> 'a -> unit) -> ('b, Format.formatter, unit) format -> Format.formatter -> 'a list -> unit

pp_print_list pp_elem sep fmt lst Print the list lst of elements using pp_elem for each element and separate them by sep.

val pp_print_para : Format.formatter -> ?end_para:bool -> string -> unit

pp_print_para fmt str Print a paragraph. '\n\n' mark the end of a paragraph.

val pp_print_paraf : Format.formatter -> ?end_para:bool -> ('a, unit, string, unit) format4 -> 'a
val pp_print_title : Format.formatter -> int -> string -> unit

pp_print_title fmt lvl str Print a title using markdown formatting.

val pp_print_titlef : Format.formatter -> int -> ('a, unit, string, unit) format4 -> 'a
val pp_print_cut2 : Format.formatter -> unit -> unit

Print two cut in a row.

val pp_print_endblock : ?check_last_char:string -> Format.formatter -> unit -> unit

Print 1 or 2 newlines depending on the previous char.

val pp_print_def : Format.formatter -> string -> ((Format.formatter -> 'a -> unit) * 'a) list -> unit

Print a definition, as defined by pandoc (ext. of markdown)>

OCaml

Innovation. Community. Security.