chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] Problems with the "dollar" egg.


From: Daniel Carrera
Subject: [Chicken-users] Problems with the "dollar" egg.
Date: Sun, 2 Mar 2014 15:44:15 +0100

Hello,

I installed Chicken for the first time last night and today I'm starting to play with it. I installed the "dollar" egg and I'm having some trouble:

http://wiki.call-cc.org/eggref/4/dollar

I tried the example on that page, and this is what I got:

--------------//--------------
#;1> ($ printf "%d times Hello, %s!\n" 1000 "world")

Error: unbound variable: foreign-lambda*

Call history:

<syntax>  ($ printf "%d times Hello, %s!\n" 1000 "world")
<syntax>  ((foreign-lambda*82 void ((nonnull-c-string70 g8384) (int66 g8586) (nonnull-c-string70 g8788)) "prin...
<syntax>  (foreign-lambda*82 void ((nonnull-c-string70 g8384) (int66 g8586) (nonnull-c-string70 g8788)) "print...
<syntax>  ((nonnull-c-string70 g8384) (int66 g8586) (nonnull-c-string70 g8788))
<syntax>  (nonnull-c-string70 g8384)
<syntax>  (int66 g8586)
<syntax>  (nonnull-c-string70 g8788)
<eval>  ((foreign-lambda*82 void ((nonnull-c-string70 g8384) (int66 g8586) (nonnull-c-string70 g8788)) "prin...
<eval>  (foreign-lambda*82 void ((nonnull-c-string70 g8384) (int66 g8586) (nonnull-c-string70 g8788)) "print... <--
--------------//--------------

So, my guess is that I need to load something else to get foreign-lambada ?

I am currently loading the module with (require-extension dollar) which I have inserted into my ~/.csirc file. The only other modules I'm loading by default are readline and irregex.

I would welcome any pointers.

Cheers,
Daniel.
--
When an engineer says that something can't be done, it's a code phrase that means it's not fun to do.

reply via email to

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