Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion format question
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kent M Pitman  
View profile  
 More options Nov 29 2001, 3:42 pm
Newsgroups: comp.lang.lisp
From: Kent M Pitman <pit...@world.std.com>
Date: Thu, 29 Nov 2001 20:41:07 GMT
Local: Thurs, Nov 29 2001 3:41 pm
Subject: Re: format question

Nils Goesche <car...@cartan.de> writes:
> "Tim Moore" <mo...@bricoworks.com> writes:

> > In article <lk8zcqolxo....@pc022.bln.elmeg.de>, "Nils Goesche"
> > <car...@cartan.de> wrote:

> > > Can somebody think of a more elegant way to do this:

> > >  (format nil  "~@[~D~]~{+~D~}" (car lst) (cdr lst))  

> > >where `lst' is a (possibly empty) list of integers?

> > Elegance is in the eye of the beholder, you might find this more elegant:
> > (format nil "~{~D~^+~}" lst)

> DARN!  That's what I couldn't find.  Thanks very much.  Is this
> anywhere documented in the HyperSpec, BTW?  All I can find is

> # Finally, the ~^ directive can be used to terminate the iteration
> # prematurely.

> in 22.3.7.4.

The CLHS index pre-version 5 doesn't well-index either format ops or
# readmacros.  You want version 5 or above.  (If it has a gray background,
you have a too-old version.)

To my knowledge, v5 is not downloadable directly from the Xanaly web site.
Not sure why.  The way to get it is to download the Personal Edition of
Xanalys LispWorks (if you don't already have a Professional or Enterprise
edition) and unpack the browsable documentation.  That has a v5.  I don't
think they are trying to hide it there--probably just no one ever got around
to updating the web site.  

v5 has very few other differences from v3.  It doesn't have the little java
widget that prompts for a symbol name though.  There were too many reports
of browsers not handling that correctly, so the widget was removed.  You have
to click through to where you want, which I find is mostly just as fast as
typing, even for me who types fast.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.