WJ wrote:
> Hannu Koivisto wrote:
>
> > Ola Rinta-Koski <ola.rinta-ko...@iki.fi.no.spam.today> writes:
> >
> > > Is there an easier way to convert a hash table into a list than
> >
> > Values of a hash table, based on your example, right?
> >
> > > this? If not easier, how about an alternative where it could be done
> > > already in the LET declaration?
> >
> > (let ((value-list (loop for i being each hash-value of hash-table
> > collect i)))
> > ...)
>
Instead of DARPA CL, let's use a Lispy language.
Racket:
: (hash 'a 2 'b 3)
'#hash((b . 3) (a . 2))
: (hash-values (hash 'a 2 'b 3))
'(3 2)