On Nov 3, 2:03 am, CuppoJava <patrickli_2...@hotmail.com> wrote: > Thanks Brian. > > For my own purposes, yes I have no need for a break or return > statement. > > But I'm writing a DSL for others to use. People that don't have > experience with functional programming, and for them it's easier to > have a break/return. And for me, it's easier to implement break/return > using an exception than it is to transform the DSL into appropriately > nested if's.
You might find http://blogs.sun.com/jrose/entry/longjumps_considered_inexpensive interesting. It's about making exception-throwing quick. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---