Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    #S(HASH-TABLE :TEST FASTHASH-EQL (ORANGES . 2) (APPLES . 6) (PEARS . 5))
Could have been an ALIST:

    ((ORANGES . 2) (APPLES . 6) (PEARS . 5))
or even a PLIST:

    (ORANGES 2 APPLES 6 PEARS 5)
Those allow for ordered, and even duplicate keys unlike the hashtable approach. No idea if that's applicable to JSON reading though...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: