package smart-print

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Pretty-printing of OCaml values.

val unit : unit -> t

Pretty-print the unit value.

val bool : bool -> t

Pretty-print a bool.

val int : int -> t

Pretty-print an int.

val float : float -> t

Pretty-print a float.

val string : string -> t

Pretty-print a string.

val option : ('a -> t) -> 'a option -> t

Pretty-print an option.

val list : ('a -> t) -> 'a list -> t

Pretty-print a list.

val tuple : t list -> t

Pretty-print a tuple of values.

OCaml

Innovation. Community. Security.