chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] csi -script


From: felix
Subject: Re: [Chicken-users] csi -script
Date: Fri, 11 Apr 2003 23:00:40 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

Joerg F. Wittenberger wrote:
Hi all,

the good news: yet another rebuild and those libstuffed-* stuff got
installed.  What ever I'm doing wrong.

But how actually does the "uses" work in scripts?  I just wrote:

#!/usr/bin/csi -script

(declare (uses srfi-13 posix))
...

But as soon as I do a string-join I'm told that the tlv string-join is
not bound.

AFAI read the docs, what I'm doing is ok, isn't it?


It's ok for compiled code. The interpreter silently ignores
*any* `declare' form.

You should use

(require 'srfi-13 'posix) ; ths posix isn't needed here, actually.

But make sure you have a registry. Like this:

% cd $HOME
% mkdir .chicken-registry
% csi -setup


cheers,
felix





reply via email to

[Prev in Thread] Current Thread [Next in Thread]