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.
_______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users