Fork me on GitHub
#sci
<
2022-05-31
>
souenzzo20:05:09

Is possible to overwrite the map constructor in sci ? I tried to use :bindings {'hash-map (fn [& args] my-custom-map)}. It works for (hash-map :a :b), as expected, but not for {:a :b}

borkdude21:05:11

@souenzzo To override clojure core functions you write {:namespaces {'clojure.core {'hash-map custom-hash-map}}} - there is currently no way to override map literals

👍 1