Name: Anonymous 2010-12-23 17:29
Let's say I wrote a function like this:
Would this function be considered functional or not?
(defun count-up-to (n)
(let ((num 0))
(labels ((count-up ()
(when (> n num)
(format t "~A / ~A~%" (1+ num) n)
(incf num)
(count-up))))
(count-up))))Would this function be considered functional or not?