Fork of https://github.com/mv2devnul/taglib

dlichteblau 5156672907 stream-read/write-char-sequence fuer clisp 20 år sedan
Makefile 7c02055836 Initial revision 20 år sedan
README 098ea33eae read-/write-sequence handling komplett umgestrickt 20 år sedan
mixin.lisp 5156672907 stream-read/write-char-sequence fuer clisp 20 år sedan
package.lisp 098ea33eae read-/write-sequence handling komplett umgestrickt 20 år sedan
trivial-gray-streams.asd 7c02055836 Initial revision 20 år sedan

README

trivial-gray-streams
====================

This system provides an extremely thin compatibility layer for gray
streams. It is nearly *too* trivial for a complete package, except that
I have copy&pasted this code into enough projects now that I decided to
factor it out once again now, and then *never* have to touch it again.


How to use it
=============

1. Use the package TRIVIAL-GRAY-STREAMS instead of whatever
implementation-specific package you would have to use otherwise to
get at gray stream symbols.
2. For STREAM-READ-SEQUENCE and STREAM-WRITE-SEQUENCE, notice that we
use two required arguments and allow additional keyword arguments.
So the lambda list when defining a method on either function should look
like this:
(stream sequence start end &key)
3. In order for (2) to work on all Lisps, make sure to subclass all your
stream classes from TRIVIAL-GRAY-STREAM-MIXIN if you intend to define
methods on those two generic functions.