RosettaCodeData/Task/Associative-array-Creation/Scheme/associative-array-creation-1.ss

3 lines
120 B
Scheme
Raw Permalink Normal View History

2013-04-10 14:58:50 -07:00
(define my-dict '((a b) (1 hello) ("c" (a b c)))
(assoc 'a my-dict) ; evaluates to '(a b)