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

Bug#256696: ~@; FORMAT directive is not implemented (CLtS 22.3.5.2)

3 views
Skip to first unread message

Eric Marsden

unread,
Jun 28, 2004, 11:30:16 AM6/28/04
to
Package: gclcvs
Version: 2.7.0-24

GCL in ANSI mode does not implement the ~@; directive within a
Tilde-Less-Than-Sign format directive (as per CLtS 22.3.5.2).
The following REPL interaction demonstrates the problem:

,----
| > (format nil "~@<;; ~@;~s~:>" *features*)
| Error in FORMAT [or a callee]: Format error: ~; expected.
| V
| "~@<;; ~@;~s~:>"
`----

Quote from the relevant part of the ANSI Common Lisp specification:

,---- http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/sec_22-3-5-2.html
| The control-string portion enclosed by ~<...~:> can be divided into
| segments ~<prefix~;body~;suffix~:> by ~; directives. If the first
| section is terminated by ~@;, it specifies a per-line prefix rather
| than a simple prefix. The prefix and suffix cannot contain format
| directives. An error is signaled if either the prefix or suffix fails
| to be a constant string or if the enclosed portion is divided into
| more than three segments.
`----

--
Eric Marsden <URL:http://www.laas.fr/~emarsden/>


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

0 new messages