John Cowan:
> My machinery for testing different Schemes isn't working right now, but
> I would be astonished if any Lisp treated "." as an ordinary identifier,
> ever.  I have a vague memory that there are some Lisps in which things
> like (. foo bar) are reader syntax for something or other, but I can't
> pin it down.

Guile does, if it can't be understood as setting the cdr. This:
  (list '.)
Produces:
  (#{.}#)

And yes, that's a period symbol.
Guile info doc  5.5.7.6 (Extended Read Syntax for Symbols) says:
"In addition to the standard read syntax defined above (which is taken
from R5RS (*note Formal syntax: (r5rs)Formal syntax.)), Guile provides
an extended symbol read syntax that allows the inclusion of unusual
characters such as space characters, newlines and parentheses.  If (for
whatever reason) you need to write a symbol containing characters not
mentioned above, you can do so as follows.

   * Begin the symbol with the characters `#{',

   * write the characters of the symbol..."

--- David A. Wheeler


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss

Reply via email to