I'm trying to define a function with optional parameters and each optional also has a default if it is not passed in. but i cannot get it to compile, and cannot find anything on the web to suggest something that will work.
here is what i have
defn test-optional-default-params [manA manB manC & [optA optB optC optD optE]
:or {[optA optAdef
optB optBdef
optC optCdef
optD optDdef
optE optEdef]}]
(prn (str "manB->" manB ", mnC->" manC ", optA->" optA ", optB->" optB ", optC->" optC ", optD->" optD ", optE->" optE)))