[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] z3: gzip compatibility
From: |
Daishi Kato |
Subject: |
[Chicken-users] z3: gzip compatibility |
Date: |
Tue, 02 Dec 2008 17:49:23 +0900 |
User-agent: |
Wanderlust/2.15.6 (Almost Unreal) Emacs/21.4 Mule/5.0 (SAKAKI) |
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
address@hidden echo foo|gzip>foo.gz
address@hidden 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>