This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-20
Channels
- # adventofcode (1)
- # announcements (2)
- # babashka (81)
- # beginners (33)
- # calva (11)
- # circleci (4)
- # clj-commons (3)
- # cljdoc (7)
- # clojars (5)
- # clojure (21)
- # clojure-europe (5)
- # clojure-japan (1)
- # clojure-norway (27)
- # clojurescript (24)
- # emacs (11)
- # events (5)
- # fulcro (14)
- # lsp (40)
- # malli (9)
- # nbb (1)
- # off-topic (5)
- # portal (4)
- # reitit (8)
- # scittle (9)
- # shadow-cljs (14)
- # spacemacs (3)
- # tools-deps (3)
I just released org.clj-commons/hickory and got the build running on cljdoc, which is awesome!
I do see however that if I click on the link for core
from https://cljdoc.org/d/org.clj-commons/hickory/0.7.2/api/hickory.zip I get an error. Is this me or is it cljdoc?
https://cljdoc.org/d/org.clj-commons/hickory/0.7.2/api/hickory.core is the link that’s producing the error.
I too see "An exception occurred, sorry about that!" when clicking on the hickory.core link. This seems like a cljdoc issue to me. I shall take a peek at what is going on sometime today.
@slipset, I had a quick peek.
Cljdoc is intentionally barfing on HiccupRepresentable
protocol members being different between clj and cljs at render time.
The clj https://github.com/clj-commons/hickory/blob/bef62d990d070868bb2181413b80c4d2e1c23fbf/src/clj/hickory/core.clj#L20-L26 supports arglists [this]
and [this zip-loc]
.
The cljs https://github.com/clj-commons/hickory/blob/bef62d990d070868bb2181413b80c4d2e1c23fbf/src/cljs/hickory/core.cljs#L11-L17 supports only [this]
arglists.
I don't yet know the history/rationale for this cljdoc behaviour.
I will start with raising an issue on cljdoc.
Here is the cljdoc issue: https://github.com/cljdoc/cljdoc/issues/701
@slipset cljdoc now deals with platform differences in protocol members. The https://cljdoc.org/d/org.clj-commons/hickory/0.7.3/api/hickory.core#HiccupRepresentable namespace should no longer error out. Thanks for letting us know we had a problem here!
@slipset cljdoc now deals with platform differences in protocol members. The https://cljdoc.org/d/org.clj-commons/hickory/0.7.3/api/hickory.core#HiccupRepresentable namespace should no longer error out. Thanks for letting us know we had a problem here!