chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] [Q] Why this simple code does not run?


From: Mario Domenech Goulart
Subject: Re: [Chicken-users] [Q] Why this simple code does not run?
Date: Tue, 09 Apr 2013 22:38:26 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Hi,

On Wed, 10 Apr 2013 11:26:35 +0900 Sungjin Chun <address@hidden> wrote:

> (sort '(1 2 3 4 5 6 7 8 9) >)
>
> I can run this code in the interpreter env. and I can even compile
> this using chicken scheme compiler, however if I run the result
> binary,
> it emits following error message;
>
> Error: unbound variable: sort
>
>            Call history:
>
>            sort.scm:1: sort                <--
>
> What should I do?

You need (use data-structures) in your code.  You don't get that error
in the interpreter because it automatically loads the data-structures
unit.

Best wishes.
Mario
-- 
http://parenteses.org/mario



reply via email to

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