Skip to content

Instantly share code, notes, and snippets.

@iamandrewluca
Last active October 1, 2019 07:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iamandrewluca/af5525347752c6233327a85ad0fa6022 to your computer and use it in GitHub Desktop.
Save iamandrewluca/af5525347752c6233327a85ad0fa6022 to your computer and use it in GitHub Desktop.
LISP Lambda call
(defun test (L) (lambda (M) L))
(setq L `(1 2 3))
(setq test1 (test L))
(write (funcall test1 10)) ; (1 2 3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment