I think in the past there were two potential reasons why this wasn't done:
- The order things are defined (s/defrecord before s/fn) made it challenging
- If you need the fastest possible performance, it might be
considered bad form to add (even a tiny) overhead to the built-in
constructor functions.
I think the first is no longer a problem, and the second is probably
moot (the overhead is very low, and you can always use the Java
constructor if you need every last inch of performance). We'd happily
take a PR (especially if it came with benchmarks about ->X
performance, just to double-check). Or in any case, please feel free
to open an issue.
Thanks!
Jason
> --
> You received this message because you are subscribed to the Google Groups
> "Plumbing and Graph: the Clojure utility belt" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
prismatic-plumb...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.