open :element-type has no effect
When trying to save a buffer containing SIMPLE-TEXT-STRINGs, in the
Lispworks Editor, I get the error
<char> is not of type BASE-CHAR
A little experimentation led me to suspect that this is the result of a
more fundamental problem:
(with-open-file (stream "~/whatever"
:direction :output
:if-exists :supersede
:element-type 'lw:simple-char)
(stream-element-type stream))
=> BASE-CHAR
:element-type seems to be ignored, by OPEN (and therefore also by
WITH-OPEN-FILE).
I am using LW 4.3.7 for Macintosh Personal Edition.
Is this a known bug? Is it a restriction of the Personal Edition? Or am
I missing something?
Thanks.