chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] hash-table-ref Error: (apply) bad argument type: #<proce


From: Andre Kuehne
Subject: [Chicken-users] hash-table-ref Error: (apply) bad argument type: #<procedure (f_10741)>
Date: Wed, 06 Feb 2008 22:42:22 +0100
User-agent: Thunderbird 2.0.0.9 (X11/20071031)

Hello!

I am having a problem with this basic hash-table operation:

csi -n

CHICKEN
Version 3.0.1 - linux-unix-gnu-x86      [ manyargs dload ptables applyhook ]
(c)2000-2008 Felix L. Winkelmann        compiled 2008-02-05 on disko (Linux)
SVN rev. 8157

#;1> (define x (make-hash-table))
#;2> (hash-table-set! x 1 2)
2
#;3> (hash-table-ref x 1)
Error: (apply) bad argument type: #<procedure (f_10741)>

       Call history:

       <syntax>                (hash-table-ref x 1)
       <eval>          (hash-table-ref x 1)    <--

Can anyone tell me what's the issue here?

Regards
Andre




reply via email to

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