All Manuals > LispWorks User Guide and Reference Manual > 34 The LISPWORKS Package

NextPrevUpTopContentsIndex

*default-character-element-type*

Parameter
Summary

Provides defaults for all character type parameters.

Package

lispworks

Description

This parameter provides defaults for all character type parameters. The legal values are base-char , lw:simple-char , and character . Its value must only be set via a call to set-default-character-element-type.

This is intended for efficiency of applications with only 8-bit strings. If your program uses 16-bit strings you should already be aware of these issues, and make some attempt to provide explicit types.

When the compiler does type inferencing it behaves as if this variable was bound to character ; if you want assumptions about types to be hard-coded into your program, you must supply explicit declarations and type arguments.

See also

string
open
set-default-character-element-type
with-output-to-string


LispWorks User Guide and Reference Manual - 21 Dec 2011

NextPrevUpTopContentsIndex