2009/10/12 Greg <g...@kinostudios.com>: > > I'm not sure I follow what John is saying (some of the terminology is > unfamiliar to me, what the heck's a digraph? :p), but is he suggesting
My understanding of a digraph is basically two characters that together represent one real character. e.g. if you type ^Ka' in Vim it turns the digraph consisting of a lowercase A and an apostrophe into á (a acute). > that $+ not be followed by a whitespace to count as a string? If so, I > think that's undesirable as that is 1) confusing, and 2) limits the > sorts of strings that you can create with it when the point of this > addition would be to expand your freedom when creating strings. If > I've misunderstood however, please let me know. No, he's saying you could use $+ some string + or $% some string % or $* some string * etc. to mean the same as " some string ", so the thing immediately following the $ sign must not be a space, but could be basically anything else. The bit where he talks about digraphs was to do with being able to quote the + character when you were using $+ and + for the delimiters. He was proposing you use $+ to mean a + where it occurs in the middle of the string. So: $+something $+ else+ would be equivalent to "something + else". Of course in this case you could just use $...@something + else@ instead. Where a $x is found in the middle of the string and the x is not a delimiter (e.g. $#=...@===#) you would just leave it as-is (i.e. it would be equivalent to "=...@===".) -- Michael Wood <esiot...@gmail.com> --~--~---------~--~----~------------~-------~--~----~ 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 Note that posts from new members are moderated - please be patient with your first post. 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 -~----------~----~----~----~------~----~------~--~---