On Thu, Dec 24, 2009 at 12:58 PM, kaveh_shahbazian < kaveh.shahbaz...@gmail.com> wrote:
> This has been done in Clojure to some extend for Vectors and Sets. > What if we could choose a custom separator in out macros? For example > `begin and `end? This way one can write code in more common flavors: > > (if (condition) > `begin > (do-something) > `else > (do-other-thing) > `end) > Sorry if I'm being slow but what advantage is there over your example and condp? (condp = condition 'begin "is begin" 'else "is else" "huh?")) > > More ceremony, more readability. > > I am not Clojure hacker by no mean - last thing happened to me was > failing in establishing a development environment for working with > Compojure (on Vista 64 Home Premium). I think I need more info on Java > (package system, CLASSPATH, ...). > > So If I look ridiculous, I apologize in advance. > > -- > 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<clojure%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- 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