On 7/11/12, David A. Wheeler <dwhee...@dwheeler.com> wrote:
> FYI, I've restored something that was in the original modern-expressions
> definition, namely, that:
>   (. expr)
> is exactly equal to:
>   expr
>
> Many Lisp implementations do this anyway (it basically falls out of the
> obvious way to implement the reader), including the current
> modern-expression reader in the git repository.  But *defining* it to work
> means that no matter what symbols are used for GROUP/SPLICE/etc., there will
> be a way to escape them.   It also means that there's a clean way to express
> symbols that begin with "." if we allow "." for indentation.
>
> If we hate it, we can get rid of it, but we need *SOME* escape mechanism,
> and this gives us one.  It's also easy to grep for, if we switch to another
> one.

This is necessary for Scheme rest arguments in definitions:

define foo(. rest)
  rest

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss

Reply via email to