[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ~_ is missing in CLISP
- To: <clisp-list@ma2s2.mathematik.uni-karlsruhe.de>
- Subject: Re: ~_ is missing in CLISP
- From: Bruno Haible <haible@ilog.fr>
- Date: Thu, 25 Sep 1997 21:28:11 +0200 (MET DST)
- >received: from halles.ilog.fr (halles.ilog.fr [172.16.1.96]) by ilog.ilog.fr (8.8.7/8.7.3) with ESMTP id VAA01865; Thu, 25 Sep 1997 21:28:13 +0200 (MET DST)
- In-reply-to: <9709248751.AA875129483@inet.stknhlg.com>
- References: <9709248751.AA875129483@inet.stknhlg.com>
Sam Steingold <sshteingold@cctrading.com> wrote:
>
> X3J13 vote 139 is not implemented (CLtL2 p 599)
Yes, format ~_ is not implemented, because it intermixes pretty printing
with `format'. But in my opinion, `prin1' (even with *print-pretty* = t)
is meant for producing machine-readable output, while `format' is made
for producing human-readable output. It is wrong to mix both.
For that matter, Guy L. Steele Jr. and Richard P. Gabriel wrote in their
article "The Evolution of Lisp":
FORMAT is a mechanism for producing string output conveniently by, basically,
taking a pre-determined string with placeholders and substituting computed
values or strings for those placeholders -- though it became much more
complex than this because the placeholders included iteration primitives for
producing lists of results, plurals, and other such exotica. It may be
loosely characterized as FORTRAN FORMAT statements gone berserk.
Bruno