I can't figure out how to use s/either or s/conditional as part of the input list. Would like to do something like this:
(s/defn parse-int :- s/Int
[input :- ; either s/Int or s/Str]
; if s/Int
input
; if s/Str
(read-string input)
))
You could also use
either, but it is deprecated.