Skip to content

Instantly share code, notes, and snippets.

@sroccaserra
Created February 5, 2010 16:57
Show Gist options
  • Save sroccaserra/295969 to your computer and use it in GitHub Desktop.
Save sroccaserra/295969 to your computer and use it in GitHub Desktop.
Emacs Lisp loop usage
(defun fibbo (n)
(if (<= n 1)
1
(+ (fibbo (- n 1))
(fibbo (- n 2)))))
(loop for i from 10 to 20
collect (list i (fibbo i)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment