[r6rs-discuss] [Formal] please make square brackets more useful

From: Thomas Lord <lord>
Date: Tue, 19 Jun 2007 15:31:33 -0700

William D Clinger wrote:
>> What about (car '[])?
>>
>
> That would evaluate to *square-bracketed* (or
> whatever), just as (car '#'0) evaluates to
> syntax.
>


"Either go away or go *all* the way in." I think Grace
Slick said that.

Perhaps

    '[]

should read as

  (**reader-quote** (**reader-square-bracketed**))

and, then, go from there.

   (car '[])
   =>
   (**reader-parenthesized**
     car
     (**reader-quote** (**reader-square-bracketed**)))


So, you can't make any commitment like "would evaluate
to *square-bracketed*" until you first specify what the
lexical environment has to say about **reader-quote**.

There could emerge, perhaps, a whole new craft in
expanding the list of identifiers used in the **reader-
"namespace". **reader-xml-datum** and
**reader-infix-operator+**, for example.



to maximize utility, aim to create rich improvisational spaces for users
-t

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.r6rs.org/pipermail/r6rs-discuss/attachments/20070619/666d446c/attachment.htm
Received on Tue Jun 19 2007 - 18:31:33 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC