Skip to content

Instantly share code, notes, and snippets.

@imjacobclark
Last active February 26, 2017 16:41
Show Gist options
  • Save imjacobclark/dce716ca0d3d625246254f62ca92a387 to your computer and use it in GitHub Desktop.
Save imjacobclark/dce716ca0d3d625246254f62ca92a387 to your computer and use it in GitHub Desktop.
Association Lisps 💥

Association Lisps 💥

Running:

$ brew install sbcl
$ sbcl --script association.cl
(setf jacob
'(
(first-name Jacob)
(last-name Clark)))
(print
(list
(first (rest (assoc 'first-name jacob)))
(first (rest (assoc 'last-name jacob))))) ; Evals -> (JACOB CLARK)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment