Handbook
Glossary
>yaml-docs ( seq -- str )
YAML serialization
Prev:
>yaml ( obj -- str )
Next:
yaml> ( str -- obj )
Vocabulary
yaml
Inputs
seq
a
sequence
Outputs
str
a
string
Word description
Serializes the sequence into a YAML formatted string. Each element is output as a YAML document.
See also
>yaml
Definition
USING:
destructors
kernel
sequences
yaml.private
;
IN:
yaml
:
>yaml-docs
( seq -- str )
[
[
init-emitter
]
dip
[
[
replace-identities
emit-doc
]
2with
each
]
[
drop
flush-emitter
]
3bi
]
with-destructors
;