scgilardi/slingshot — Issue #20: fn literals are not allowed as predicate fns in catch
Author: arohner
Created: 2012-02-25 04:40:45+00:00
State: open

In a catch expression, fn literals appear to not be allowed:

Simple test case:

```clojure
(try+
(throw+ {:foo true})
(catch #(-> % :foo (= false)) data
(println "caught")))
```

Replace `#(-> % :foo (= false)) with a named fn, and you get the expected behavior.