Re: A style question
- From: "Pillsy" <pillsbury@xxxxxxxxx>
- Date: 28 Feb 2007 12:01:22 -0800
On Feb 28, 8:03 am, Ken Tilton <kentil...@xxxxxxxxx> wrote:
Tim Bradshaw wrote:[...]
Incidentally, I'm deeply disappointed in the quality of answers in
this thread. In the elder days there would have been at least a few
followups showing how to do this in the proper "FORMAT string
indistinguishable from line noise" way.
Oh, absolutely, long overdue in this thread. Is this going to become a
lost art? The village elders need to step up, methinks. I started
playing with it, but I am just an elder, not a Lisp elder. Screams for a
nested thingy, yes?
Well, if you're going to throw down the gauntlet like that, I'm
just going to have to respond in the hopes of provoking someone
into besting my wimpy attempt.
(apply #'format t "~@{ ~2@{~D ~}~^~*Fizz ~D ~*Buzz~
~*Fizz ~2@{~D ~} ~*Buzz ~D ~*Fizz~
~2@{~D ~} ~*FizzBuzz ~%~}"
(loop
:for i :from 1 to 100
:collect i))
Cheers,
Pillsy
.
- References:
- A style question
- From: job-271842874
- Re: A style question
- From: Frank Buss
- Re: A style question
- From: job-271842874
- Re: A style question
- From: Tim Bradshaw
- Re: A style question
- From: Ken Tilton
- A style question
- Prev by Date: Re: A style question
- Next by Date: Useless SBCL on Win32: memory problem
- Previous by thread: Re: A style question
- Next by thread: Re: A style question
- Index(es):