sci

souenzzo 2022-05-31T20:50:09.207849Z

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}

borkdude 2022-05-31T21:01:11.001859Z

@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