From: Matthew Swank
Subject: format style
Date: 
Message-ID: <pan.2007.08.08.01.24.47.165997@c.net>
Are there more stylish (idiomatic) way to do this:

(format t (format nil "~~~dr" base) num)

Matt
-- 
"You do not really understand something unless you
 can explain it to your grandmother." - Albert Einstein.

From: Zach Beane
Subject: Re: format style
Date: 
Message-ID: <m3myx2iyhs.fsf@unnamed.xach.com>
Matthew Swank <································@c.net> writes:

> Are there more stylish (idiomatic) way to do this:
>
> (format t (format nil "~~~dr" base) num)

Yes, the v modifier for directives:

   (format t "~vR" base num)

Zach
From: Matthew Swank
Subject: Re: format style
Date: 
Message-ID: <pan.2007.08.08.02.19.09.906489@c.net>
On Tue, 07 Aug 2007 21:52:31 -0400, Zach Beane wrote:

> Matthew Swank <································@c.net> writes:
> 
>> Are there more stylish (idiomatic) way to do this:
>>
>> (format t (format nil "~~~dr" base) num)
> 
> Yes, the v modifier for directives:
> 
>    (format t "~vR" base num)
> 
> Zach

Thank you.

-- 
"You do not really understand something unless you
 can explain it to your grandmother." - Albert Einstein.
From: dpapathanasiou
Subject: Re: format style
Date: 
Message-ID: <1186580336.378239.114800@22g2000hsm.googlegroups.com>
On Aug 7, 9:24 pm, Matthew Swank
<································@c.net> wrote:
> Are there more stylish (idiomatic) way to do this:
>
> (format t (format nil "~~~dr" base) num)

You can also look at alternatives to format: http://www.cs.yale.edu/homes/dvm/format-stinks.html
(some good ideas mixed in with the rant).