[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] stream trouble
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] stream trouble |
Date: |
Mon, 3 Oct 2005 21:37:26 +0200 |
On 9/30/05, Shawn Rutledge <address@hidden> wrote:
> [nucleus][12:19:42 AM] csi
> _______ _ __
> / ___/ / (_)___/ /_____ ___
> / /__/ _ \/ / __/ '_/ -_) _ \
> \___/_//_/_/\__/_/\_\\__/_//_/
>
> Version 2, Build 2 - linux-unix-gnu-x86 - [ dload ]
> (c)2000-2005 Felix L. Winkelmann
> #;1> (require-extension stream-wiki)
> ; loading /usr/lib/chicken/stream-wiki.so ...
> ; loading /usr/lib/chicken/srfi-40-base.so ...
> ; loading /usr/lib/chicken/stream-ext.so ...
> ; loading /usr/lib/chicken/format.so ...
> ; loading /usr/lib/chicken/stream-parser-base.so ...
> ; loading /usr/lib/chicken/sandbox.so ...
> #;2> (define inp (open-input-file
> "/var/www/localhost/htdocs/wiki/index.wiki"))
> #;3> (define ins (wiki->html inp))
> #;4> (stream? ins)
> #t
> #;5> (stream->string ins)
> Error: stream library: "attempt to take stream-car of non-stream"
>
`wiki->html' wants to get passed a stream, not an input-port, I think.
cheers,
felix
- Re: [Chicken-users] stream trouble,
felix winkelmann <=