3 ms·
Lisp has keywords: (look #:attr "at" #:attr2 "up" this (awkward problem)) Or to handle XML on the fly, cons cells are another option: (look '(attr . "a
by brudgers 13y ago
Lisp has keywords:
(look #:attr "at" #:attr2 "up" this (awkward problem))
Or to handle XML on the fly, cons cells are another option:
(look '(attr . "at") '(attr2 . "up) this (awkward problem))
Going further since it's Lisp and we're just parsing, we could pretty much use whatever syntax we want by adding a macro:
(look (attributes attr "at" attr2 "up") this (awkward problem))