Hi again, Also, about this piece of code:
> (pp (call-with-input-request > "http://modis.ispras.ru/Lizorkin/XML/poem.xml" > #f (lambda (p) > (let ((sxml (ssax:xml->sxml p '()))) > ;; Consume the rest of the stream, ssax does not > ;; fully read until the end. > (read-string #f p) > sxml)))) Does it make sense to have http-client automatically consume any remaining data after the user-supplied reader returns? What about continuations? Or perhaps it should be read when the *next* request is done? Thoughts? Opinions? Cheers, Peter -- http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users