README 830 B

1234567891011121314151617181920
  1. trivial-gray-streams
  2. ====================
  3. This system provides an extremely thin compatibility layer for gray
  4. streams. It is nearly *too* trivial for a complete package, except that
  5. I have copy&pasted this code into enough projects now that I decided to
  6. factor it out once again now, and then *never* have to touch it again.
  7. How to use it
  8. =============
  9. 1. Use the package TRIVIAL-GRAY-STREAMS instead of whatever
  10. implementation-specific package you would have to use otherwise to
  11. get at gray stream symbols.
  12. 2. For STREAM-READ-SEQUENCE and STREAM-WRITE-SEQUENCE, notice that we
  13. use two &OPTIONAL arguments.
  14. 3. In order for (2) to work on Lispworks, CLISP, and OpenMCL, make sure to
  15. subclass all your stream classes from TRIVIAL-GRAY-STREAM-MIXIN if you
  16. intend to define methods on those two generic functions.