Hi,
How come the following code does not throw an exception?
(defn foo []
(do
(map (fn [_] (throw (RuntimeException. "fail"))) [1 2])
"no exception"))
this however does throw exception:
(defn foo []
(map (fn [_] (throw (RuntimeException. "fail"))) [1 2]))
Is this a bug or am I missing something?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---