cherry 2022-08-04

On main branch:

$ ./node_cli.js -e '(defprotocol IFoo (foo [_])) (extend-type string IFoo (foo [_] :foo)) (prn (foo "bar"))'
:foo

and ...

$ ./node_cli.js -e '(deftype Foo [x]) (prn (.-x (->Foo 1)))'
1