RosettaCodeData/Task/Associative-array-Creation/Scheme/associative-array-creation-3.scm
2024-10-16 18:07:41 -07:00

9 lines
215 B
Scheme

#!r6rs
(import (rnrs base)
(rnrs hashtables (6)))
(define my-hash (make-hashtable equal-hash equal?))
(hashtable-set! my-hash 'a 'b)
(hashtable-set! my-hash 1 'hello)
(hashtable-set! my-hash "c" '(a b c))