Is it possible to extract the argument list e.g (s/cat :x int?) from an existing spec?
(s/arg foo) ;;=> [{:x int?}]
@drewverlee I'm not entirely clear on what your code should do, but maybe s/form is something that's useful for you?
s/form
thanks @borkdude and @sgepigon that answers the question for me.