Hi,

Does anyone know if I can use z3 egg
to reproduce the same result made by gzip?

My first attempt is the following.

Thanks for any help.

Best,
Daishi


[EMAIL PROTECTED] echo foo|gzip>foo.gz
[EMAIL PROTECTED] csi

CHICKEN
(c)2008 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 3.2.0 - linux-unix-gnu-x86      [ manyargs dload ptables applyhook ]
SVN rev. 10664  compiled 2008-05-28 on spirits (Linux)

#;1> (use z3)
; loading /usr/local/chicken-3.2.0/lib/chicken/3/z3.so ...
#;2> (z3:decode-buffer (read-file "foo.gz"))
Error: (string-length) bad argument type: (|?????4IK????????e2~|)

        Call history:

        <syntax>                (z3:decode-buffer (read-file "foo.gz"))
        <syntax>                (read-file "foo.gz")
        <eval>          (z3:decode-buffer (read-file "foo.gz"))
        <eval>          (read-file "foo.gz")    <--
#;2>


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to