Skip to content

Instantly share code, notes, and snippets.

@henrikh
Created August 22, 2009 20:42
Show Gist options
  • Save henrikh/172977 to your computer and use it in GitHub Desktop.
Save henrikh/172977 to your computer and use it in GitHub Desktop.
(defun average (&rest numbers)
(/ (apply #'+ numbers)(length numbers)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment