Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

How do I define a symbol-macro in Scheme?

Name: Anonymous 2011-11-19 21:27


(require mzlib/defmacro)
(define-macro 16-bit-mask #xFFFF)

doesn't work.

Name: Anonymous 2011-11-20 19:39

>>8
R6RS explicitly forbid usage of digits for the first character of as identifier.
See :

4.2.4 Identifiers
[...]In general, a sequence of letters, digits, and “extended alphabetic characters” is an identifier when it begins with a character that cannot begin a representation of a number object.[...]

Also, <identifier> in "4.2.1  Formal account".

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List