On 9/30/05, Shawn Rutledge <[EMAIL PROTECTED]> 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


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

Reply via email to