Perl Monk, Perl Meditation | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
> I'd be interested to know if there's a language with an operator like this for either type of array.)
Short: alists in Lisp allow this Long: Dunno if there is an "operator", but Lisp has various approaches to associative arrays and alists are the most basic. They are basically just lists of "pairs" with linear search, hence slow. Disclaimer: my Lisp is eLisp
Cheers Rolf PS: obligatory Xkcd ;) In reply to Re^2: can I change hash keys or values directly (Lisp)
by LanX
|
|