Welcome! Please see the About page for a little more info on how this works.

+1 vote
in Clojure by

The seque function silently ends the sequence when an exception is thrown under some circumstances:

`
user> (->> (range 50)

       (map (fn [x] (if (> x 20) (throw (ex-info "hepp" {})) x)))
       (seque 3))

()
`

Instead of returning an empty sequence, I would expect this expression to raise an exception.

1 Answer

+1 vote
by
Reference: https://clojure.atlassian.net/browse/CLJ-2404 (reported by alex+import)
...