Re: A style question
- From: Wade Humeniuk <whumeniu+anti+spam@xxxxxxxxx>
- Date: Wed, 28 Feb 2007 02:27:48 GMT
Another style
(defun fbv (n)
(or (remove nil (list (and (zerop (mod n 3)) "Fizz")
(and (zerop (mod n 5)) "Buzz")))
(list n)))
(defun fizz-buzz (n)
(loop for i from 1 to n do (format t "~{~A~}~%" (fbv i))))
Wade
.
- Follow-Ups:
- Re: A style question
- From: Wade Humeniuk
- Re: A style question
- References:
- A style question
- From: job-271842874
- A style question
- Prev by Date: Re: A style question
- Next by Date: Re: Optimizing n-gram generation
- Previous by thread: Re: A style question
- Next by thread: Re: A style question
- Index(es):