lambdaisland

plexus 2020-07-20T04:05:12.152800Z

assoc-query does, but doing (assoc uri :path ...) it won't, since that's just updating the field in the record. But you can assoc the path and then normalize. I wrote lambdaisland/uri as an as alternative to cemerick/url for three reasons : cross platform cljc, the ability to represent and manipulate relative urls, and an implementation of the rfc algorithm for joining urls (e.g. resolving links)

plexus 2020-07-20T06:44:03.156500Z

yeah I've considered doing a blog post about that setup style, i.e. the interplay of shadow-cljs.edn, deps.edn, .dir-locals.el and user.clj. The things is that this is not actually the recommended setup (or I assume it's not, as in not recommended by the CIDER or shadow people). When you start your REPL you can choose if it should use deps.edn or shadow-cljs.edn. This setup is necessary if you choose deps.edn, but you can also choose shadow-cljs.edn, and it'll still pull in what's in deps.edn, but the process will boot via shadow-cljs instead of via clojure.

plexus 2020-07-20T06:45:11.157500Z

I prefer to stick to booting via clojure, makes it easier for me to understand what's going on. But it means I do a bunch of wiring myself that shadow and cider otherwise take care of.

plexus 2020-07-20T10:57:50.157600Z

assoc-query came later, might be nice to add a conj-path that adds path segments and that encodes them, similar to assoc-query