[Ecls-list] Gray streams
Juan Jose Garcia-Ripoll
jjgarcia at users.sourceforge.net
Mon Mar 17 16:53:15 UTC 2008
Tag: (CVS 2008-03-17 17:51)
- Gray streams are now implemented in a separate package, called GRAY, which
exports symbols such as FUNDAMENTAL-STREAM or STREAM-READ-CHAR.
- The functions CLOSE, {OPEN,INPUT,OUTPUT}-STREAM-P, STREAM-P and
STREAM-ELEMENT-TYPE are now offered in two flavors. The versions exported by
the COMMON-LISP package are ordinary functions, the versions in the GRAY
package are generic functions that can be specialized to new classes. The
ordinary functions will invoke the generic version when passed a generic
stream. Note that, for instance, CL:CLOSE and GRAY:CLOSE are not the same
symbol. This means you might need to shadow-import the symbols associated to
generic versions in the packages where methods on these functions are
defined.
The change of package name, which is essential to provide the generic
functions, might break code that imported these classes from the EXT
package.
Juanjo
--
Facultad de Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)
http://juanjose.garciaripoll.googlepages.com
More information about the ecl-devel
mailing list