One useful reader macro would be do the analog of a syntax-quote in an
ignored sexp ( #- is the analog of ~ ):
#_(ignore
(continuing to ignore
#-"except do not ignore this"
and ignore this))
Another language feature that I think many wish for to have some way of
specifying a string without having to escape quotes within it. This also
requires a reader macro. Perl has good ideas in this area.
One way is to just have an alternate quote,
#| this is a string in which I don't need to escape "quotes"|
Or to make it possible to define the quote character
#|{ ..."e|t|c"era }|
Or to allow multi-character delimeters (heredoc)
#|EOS string goes in here EOS|
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en