All Manuals > LispWorks® User Guide and Reference Manual > 33 The COMMON-LISP Package

make-string-output-stream Function

Summary

Creates a character output stream.

Package

common-lisp

Signature

make-string-output-stream &key element-type => stream

Arguments
element-type
A type specifier.
Values
stream
A string output stream.
Description

The function make-string-output-stream behaves as specified in the ANSI Common Lisp Standard with one exception: the default value of element-type is the value of *default-character-element-type*.

Therefore for strict compliance you must call set-default-character-element-type to set the default string type to character.

See also

make-string-output-stream in the Common Lisp HyperSpec
with-output-to-string
*default-character-element-type*
set-default-character-element-type


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:30