Did you know ... Search Documentation:
Pack yaml -- prolog/yaml/serializer.pl
PublicShow source

The serialized result is fully YAML compatible although not utilizing every feature of YAML spec.

author
- Hongxin Liang
license
- Apache License Version 2.0
 serialize(+PL, -YAML) is semidet
Serialize given Prolog term to YAML atom.