Module Cudf_printer


module Cudf_printer: sig .. end
Pretty printing of CUDF macro-components (documents, stanzas, ...)

For pretty printing of micro-components see Cudf_types.



Pretty print to abstract formatters

val pp_cudf : Format.formatter -> Cudf.cudf -> unit
val pp_doc : Format.formatter -> Cudf.cudf_doc -> unit
val pp_item : Format.formatter -> Cudf.cudf_item -> unit
val pp_package : Format.formatter -> Cudf.package -> unit
val pp_request : Format.formatter -> Cudf.request -> unit
val pp_packages : Format.formatter -> Cudf.package list -> unit
val pp_universe : Format.formatter -> Cudf.universe -> unit

Pretty print to string

Shorthand functions.

val string_of_cudf : Cudf.cudf -> string
val string_of_doc : Cudf.cudf_doc -> string
val string_of_item : Cudf.cudf_item -> string
val string_of_package : Cudf.package -> string
val string_of_request : Cudf.request -> string
val string_of_packages : Cudf.package list -> string
val string_of_universe : Cudf.universe -> string