[Openmcl-devel] write-sequence

Sven Van Caekenberghe sven at beta9.be
Wed May 28 02:49:12 PDT 2003


Isn't (write-sequence "foo" *standard-output*) supposed to just work ? 
This is an example from the HyperSpec. It would be nice if T would also 
be accepted ;-) - but that has probably to do with method dispatch.

? (write-sequence "foo" *standard-output*)
 > Error: No applicable method for args:
 >         (#<SYNONYM-STREAM to *TERMINAL-IO* #x529BE5E> "foo" :START 0 
:END 3)
 >         to #<STANDARD-GENERIC-FUNCTION CCL::STREAM-WRITE-SEQUENCE 
#x50D5CF6>
 > While executing: #<CCL::STANDARD-KERNEL-METHOD NO-APPLICABLE-METHOD 
(T)>
 > Type :POP to abort.
Type :? for other options.
1 >

On the other hand, (write-char #\A *standard-output*) and (write-char 
#\A t) do work.

Sven


_______________________________________________
Openmcl-devel mailing list
Openmcl-devel at clozure.com
http://clozure.com/cgi-bin/mailman/listinfo/openmcl-devel



More information about the Openmcl-devel mailing list