Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

AllegroCL: How to write a huge list in one line

1 view
Skip to first unread message

Unai Uribarri Rodriguez

unread,
Apr 7, 2000, 3:00:00 AM4/7/00
to
format splits the list into several lines.
Is there any way to write a huge list to a file in an unique line?

Barry Margolin

unread,
Apr 10, 2000, 3:00:00 AM4/10/00
to
In article <38EE49F4...@opalo.etsiig.uniovi.es>,

Unai Uribarri Rodriguez <zz99...@opalo.etsiig.uniovi.es> wrote:
>format splits the list into several lines.
>Is there any way to write a huge list to a file in an unique line?

Set *PRINT-PRETTY* to NIL.

--
Barry Margolin, bar...@genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.

Erik Naggum

unread,
Apr 10, 2000, 3:00:00 AM4/10/00
to
* Unai Uribarri Rodriguez <zz99...@opalo.etsiig.uniovi.es>

| format splits the list into several lines.

format does what it's told to do, and it doesn't have free will (it only
feels like it until you learn its language), so you're blaming the wrong
guy, here. so, what, _exactly_, were you telling format to do?

| Is there any way to write a huge list to a file in an unique line?

(format <stream> "~{~A~^ ~}~%" <huge-list>)

#:Erik

0 new messages