Why would a break function in clojure  the language not be considered,  
a-la common-lisp?


On Friday, 8 November 2013 09:31:55 UTC+10, Lee wrote:
>
>
> On Nov 7, 2013, at 5:48 PM, Alex Miller wrote: 
>
> > When you say "hit an error", I'm assuming you mean "clojure throws an 
> exception" and not "hit a breakpoint in a debugger" or something else. 
>
> Yes -- I mean "clojure throws an exception." 
>
> > 
> > I don't think there is one place where we could generically attach 
> locals info to a thrown exception. The JVM debugging interface (JVMTI - 
> http://docs.oracle.com/javase/7/docs/technotes/guides/jvmti/index.html) 
> can do an awful lot of things (including arbitrary class bytecode 
> transformation) so I would guess it's possible to build a java agent that 
> could do this (or to modify the Compiler to inject the right code at 
> compile time). Sounds like a fun project, but probably non-trivial. 
>
> Too bad... unless someone wants to have that fun and then share it with 
> the rest of us :-). It still strikes me as really odd that such basic and 
> clearly desirable functionality, available forever in other environments, 
> should be so hard to come by. 
>
>  -Lee

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to