[plt-scheme] keywords (a backward-incompatible change)

From: Eli Barzilay (eli at barzilay.org)
Date: Sat Oct 1 16:41:33 EDT 2005

On Oct  1, Dave Herman wrote:
> Can we assume that:
>      (symbol? (string->symbol ":a")) ; => #t

Yes, `string->symbol' always creates symbols.  Additional
`string->keyword' and back are used for keywords.

>      (symbol? '|:a|)                 ; => #t
>      (lambda (|:a|) |:a|)            ; => #<procedure>

Yes -- this is implied in this line from Matthew's message:

> (keyword? '|:a b|) ; => #f

The same should work (I think) for (lambda (\:a) \:a)

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

Posted on the users mailing list.