The Leiningen project.clj files have a key :checkout-deps-shares which holds a vector of functions which take a project map as their argument and returns one or more paths. Say we want to create a specification for the values held in this field, how would we go about it?
The example data given by leiningen for the feild is:
:checkout-deps-shares [:source-paths :test-paths
(fn [p] (str (:root p) "/lib/dev/*"))]
A vector of three functions which take a map and return one or more strings.
I've understood from previous conversations here on the list that this may be a bit of a problem, that there are these detached function definitions declared with => but they can't be used for validation. So I just wanted to make sure that there is no way to validate functions that I don't declare myself. And if it isn't true, ask about how it's done.