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

3 lines
120 B
Scheme
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
(define my-dict '((a b) (1 hello) ("c" (a b c)))
(assoc 'a my-dict) ; evaluates to '(a b)