[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] unbound variable: make-hash-table
From: |
Jim Ursetto |
Subject: |
Re: [Chicken-users] unbound variable: make-hash-table |
Date: |
Fri, 9 Jul 2010 12:43:01 -0500 |
Martin, feel free to join us on freenode on #chicken as well, we can answer all
kinds of questions there.
On Jul 9, 2010, at 12:04, Mario Domenech Goulart <address@hidden> wrote:
> Hi Martin
>
> On Fri, 9 Jul 2010 22:14:09 +0530 Martin DeMello <address@hidden> wrote:
>
>> What's going wrong here?
>>
>> $ cat t.scm
>>
>> (define *hash* (make-hash-table))
>>
>> $ csi t.scm
>>
>> ; loading t.scm ...
>> #;1> *hash*
>> #<hash-table (0)>
>>
>> $ csc t.scm
>> $ ./t
>>
>> Error: unbound variable: make-hash-table
>>
>> Call history:
>>
>> t.scm:1: make-hash-table <--
>
> You need
>
> (require-extension srfi-69)
>
>
> To understand the difference between the compiled and the interpreted
> code, try adding
>
> (print (features))
>
> to your code. Here's the documentation for `features':
> http://chicken.wiki.br/man/4/Unit%20library#feature-identifiers
>
> Best wishes.
> Mario
> --
> http://parenteses.org/mario
>
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/chicken-users