[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] unbound variable: make-hash-table
From: |
Martin DeMello |
Subject: |
Re: [Chicken-users] unbound variable: make-hash-table |
Date: |
Fri, 9 Jul 2010 23:29:49 +0530 |
Thanks, Jim and Mario! And thanks for the pointer to the IRC channel,
will drop by if I have any more questions.
martin
On Fri, Jul 9, 2010 at 11:13 PM, Jim Ursetto <address@hidden> wrote:
> 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
>