1 library(yaml): Process YAML data
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog YAML library
        • library(yaml): Process YAML data
          • yaml_read/2
          • yaml_write/2
          • yaml_write/3
          • tagged/3
Availability::- use_module(library(yaml)).(can be autoloaded)
Source[det]yaml_write(+Out:stream, +DOM)
[det]yaml_write(+Out:stream, +DOM, +Options)
Emit a YAML DOM object as a serialized YAML document to the stream Out. Options processed are:
canonical(+Boolean)
Use canonical representation. Default is false.
unicode(+Boolean)
Use unicode Default is true.
implicit(+Boolean)
Use implicit or explicit representation. Currently only affects the opening and closing the document. Default is true. Use false for embedded documents.
factorize(+Boolean)
If true, minimize the term by factoring out common structures and use &anchor and *anchor. Factorization is always used if DOM is a cyclic term.