
2 Aug
2006
2 Aug
'06
8:55 p.m.
Alexey Goldin wrote:
Apparently read-line is not available yet. On sbcl:
(with-open-gzip-file (s "text.gz") (read-line s))
Yeah, unfortunately the gzip-streams have an element-type of '(unsigned-byte 8) and as such I didn't implement read-line on them, i assumed (poorly) that there would be a more readable error than no such applicable method. as a workaround for now you should be able to use Edi Weitz's excellent flexi-streams <http://cliki.net/flexi-streams> to enable read-line usage. eg. (gzip-stream:with-open-gzip-file (s "e:/dapper.htm.gz") (setf s (flexi-streams:make-flexi-stream s)) (read-line s)) This will be addressed sometime in the future. Cheers, Sean.