|
From: Bruce B. <ba...@en...> - 2003-12-15 19:06:22
|
Uhhh, stupidity on my part? I ported that code a while back and it was mostly an exercise to see how to transform CLOS code into a more "functional" (read "non-OO") style. I think the changes would be minimal as Noel has pointed out but it would also be nice to refactor some of the cruft. Let me look at it and see what I can do. Also, any contributions are welcome, that's what Open Source is all about ;) Gordon Weakliem wrote: > I posted this to schematics-users, which seems to be pretty inactive. The original was: > > The examples for the PDF library all write to a file, though it seems like with-document should be able to write to an arbitrary stream. Is there a simple example of how to do that? > > I see where Noel is going with this (essentially rewrite write-document to take a port instead of a file name), but it looks like the definition has to go into pdf.ss itself, since write-document and with-document-to-port use functions that aren't exported from the pdf module. > |