Welcome! Please see the About page for a little more info on how this works.

+1 vote
in ClojureScript by

In CLJ a check for :type on the meta happens and then falls back to returning the constructor class. In CLJS only the constructor class is returned. It would be nice to have these consistent for usage with multimethods etc.

1 Answer

0 votes
by

Hi Colin,

Was wondering the same thing and I found some discussions in the slack channel:

https://clojurians.slack.com/archives/C07UQ678E/p1593166172290700

https://clojurians.slack.com/archives/C07UQ678E/p1610190759145100

TLDR:
Yeah, bummer. No one wants inconsistencies.
At this point in time, too scary to change :)
+ Not enough incentive (use-cases) identified.

...