bhb / expound

Human-optimized error messages for clojure.spec
Eclipse Public License 1.0
924 stars 24 forks source link

allow passing options map to expound/expound-str #162

Closed aleksandersumowski closed 5 years ago

aleksandersumowski commented 5 years ago

currently both expound/expound-str pass empty opt maps to printer-str. It would be nice if it accepted additional arity with opts map passed. Happy to prepare a PR if you were willing to accept such change

bhb commented 5 years ago

@aleksandersumowski Great idea! I've actually implemented this and it will be in the next version of Expound. Thanks for the idea!