Skip to content

Instantly share code, notes, and snippets.

@piyushmaurya23
Last active October 16, 2015 20:21
Show Gist options
  • Save piyushmaurya23/123421d30840b54ae57f to your computer and use it in GitHub Desktop.
Save piyushmaurya23/123421d30840b54ae57f to your computer and use it in GitHub Desktop.
5. Define a Recursive LISP function which takes one argument as a list and returns last element of the list. (do not use last predicate)
(defun last_element(user_list)
(car (reverse user_list)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment