ClojureScript portability is probably the best reason. The other one is
usage in spec. They don't all need to go in core, but going in the standard
lib would be nice, like clojure.type-predicates.
Even better if we had clojure.types. And it could have both predicates and
types defined in it. So
Do we want a predicate for every interface? I, for one, DEFINITELY do not.
Just make some utils if you need to check for (instance? IAtom x) a lot in
your application. All such fns do is bloat clojure.core.
On Sun, Jul 16, 2017 at 5:24 PM, Alex Miller wrote:
> The decisions for volatile? vs othe
The decisions for volatile? vs other predicates were made at different
times so I don't think there is necessarily any guiding design principle
behind having one vs not having the other. I wrote the volatile addition,
but I don't remember any of the details around why we included volatile? at
t