recur icon indicating copy to clipboard operation
recur copied to clipboard

Multiple &optional parameters get shuffled

Open vemv opened this issue 12 years ago • 1 comments

A simple case:

(recur-defun* ¬ (&optional a b)
  (message (prin1-to-string (list a b)))
  (if (> a b)
      (recur (- a b) b)
      b))

(¬ 10 1)

; Inspecting the iterations at *Messages*:
; (10 1)
; (1 9)

Thank you very much for the hard work Vincent - I'm currently having fun with quite a few of your emacs-utils!

vemv avatar Aug 22 '12 15:08 vemv