liutanyu / mcl

Automatically exported from code.google.com/p/mcl
Other
0 stars 0 forks source link

Non-portable stream-write-string method definition #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In MCL, stream-write-string requires the start and end arguments. In other 
Common Lisp 
implementations, including Clozure, the start and end arguments are optional:

http://www.lispworks.com/documentation/lw51/LWRM/html/lwref-643.htm
http://www.clos.org/support/documentation/7.0/doc/operators/excl/stream-write-st
ring.htm
http://franz.com/support/documentation/6.0/doc/pages/operators/excl/stream-write
-string.htm
http://www.sbcl.org/manual/Character-output-stream-methods.html

The different method definition in MCL for stream-write-string creates 
conflicts with portable code. I suggest stream write-string is changed to be 
consistent with other lisp implementations by 
making the start and end arguments optional.

Original issue reported on code.google.com by terje.norderhaug on 2 Jan 2010 at 12:06