portal

https://github.com/djblue/portal
plexus 2021-05-04T08:41:03.027800Z

A small thing I noticed, when evaluating portal/open

Multiple methods in multimethod 'simple-dispatch' match dispatch value: class portal.runtime.jvm.client.Portal -> interface clojure.lang.IDeref and interface clojure.lang.IPersistentMap, and neither is preferred

plexus 2021-05-06T08:51:27.033600Z

@djblue I had a better look, this is coming from clojure.pprint/simple-dispatch, not from print-method...

plexus 2021-05-06T08:52:07.033800Z

you might be interested in https://github.com/lambdaisland/data-printers , even if only for inspiration. There are multiple print implementations across clj/cljs to reckon with

👍 1
plexus 2021-05-06T08:53:05.034100Z

BTW loving that I can do this

(tap> (bean clojure.pprint/simple-dispatch))

💯 1
djblue 2021-05-06T17:26:24.036400Z

You can all call bean on any object from the command palette 👌

🚀 1
djblue 2021-05-06T17:26:46.036600Z

Just in case you already tap the value out without calling bean on it