display -- r7rs Definition procedure;
Procedure variants:
((value) -> (undefined))
((value textual-output-port-open) -> (undefined))
value;textual-output-port-open;undefined;scheme:write -- (scheme write);scheme -- (scheme);(display obj) (display obj port)Writes a representation of
objto the given textual outputport. Strings that appear in the written representation are output as if bywrite-stringinstead of bywrite. Symbols are not escaped. Character objects appear in the representation as if written bywrite-charinstead of bywrite.The
displayrepresentation of other objects is unspecified. However,displaymust not loop forever on self-referencing pairs, vectors, or records. Thus if the normalwriterepresentation is used, datum labels are needed to represent cycles as inwrite.Implementations may support extended syntax to represent record types or other types that do not have datum representations.
The
displayprocedure returns an unspecified value.Rationale: The
writeprocedure is intended for producing machine-readable output anddisplayfor producing human-readable output.
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.