On Mon, Jan 19, 2009 at 9:10 AM, Mark Volkmann <r.mark.volkm...@gmail.com> wrote: > > What are the equivalent functions, if any, for these? > > \ - character literal
I came up with a couple options: ((into {} (map (comp vec reverse) char-name-string)) "newline") (read-string "\\newline") > #"..." - regular expression - re-pattern? 're-pattern' is correct, but remember that literal strings have different quoting rules than literal regex. > #^ - metadata #^ adds metadata at read-time, so there's no way for a function to do exactly the same thing, though 'with-meta' does something similar at runtime. > #' - var-quote 'var' That is, (var ensure) is the same as #'ensure > ` - syntax quote > ~@ - unquote splicing Those and ~ as well translate to a complex set of clojure data-structure-building functions, all of which are available as functions. These include 'list', 'cons', 'concat', etc. --Chouser --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---