[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prefix, not postfix (poll)

This page is part of the web mail archives of SRFI 88 from before July 7th, 2015. The new archives for SRFI 88 contain all messages, not just those from before July 7th, 2015.



On Apr 11, Ben Goetter wrote:
> 
> >> Syntax-rules should treat keywords as valid /identifier/s in a
> >> production.  I am thinking of the ":" token in Scsh SRE syntax.
> >>     
> > Why?  Keywords are a new type, so they should be used as valid
> > identifiers in syntax just like numbers, strings, and booleans
> 
> Either way.  Per R5RS 7.1.5, one of /pattern datum/ or /pattern
> identifier/ needs emending.

Right -- my point is that changing it to treat keyword values as
identifiers in syntax-level code would result in a horrible mess.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!