From: Marius Vollmer <[EMAIL PROTECTED]>
Date: 09 Apr 2000 11:12:19 +0200
Use
guile> (assoc-ref '((1 . 2) (3 . 4) (5 . 6)) 3)
4
instead. Arguments for assoc-ref are the other way around from
assoc. Also note that it does return the value and not the cell.
Both things are to make assoc-ref rhyme with vector-ref, string-ref,
list-ref, etc.
d'oh! ok, time to go to bed.... 8-}
thanks for the clue.
thi
- assoc-ref broken? thi
- Re: assoc-ref broken? Marius Vollmer
- thi
