Here we get a NullPointerException because although we do have a spec for {{foo}}, we don't have an implementation for it, a more descriptive error message would help.
`
(require '[clojure.spec.alpha :as s])
(s/fdef foo :args (s/cat :x int?) :ret int?)
=> user/foo
(s/exercise-fn foo)
NullPointerException clojure.core/apply (core.clj:657)
``
Proposed: Check for a nil function and throw.
Patch: clj-2190.patch