|
From: | Mario Domenech Goulart |
Subject: | Re: [Chicken-users] unbound variable: make-hash-table |
Date: | Fri, 09 Jul 2010 13:04:27 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |