Welcome to the CHICKEN Scheme pasting service

callable-data-structures added by mario-goulart on Wed Dec 4 22:47:32 2013

(use callable-alists callable-hash-tables)

(define a (make-callable-alist '()))
(set! (a 'foo) 42)
(print "foo (alist) = " (a 'foo))

(define ht (make-callable-hash-table '()))
(set! (ht 'foo) 42)
(print "foo (hash table) = " (ht 'foo))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which module provides `foreign-declare'?
Visually impaired? Let me spell it for you (wav file) download WAV