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

0 votes
in ClojureScript by

This code prints {{32}} while I'd expect it to print {{20}}.

(require 'cljs.pprint) (binding [cljs.pprint/*print-base* 16] (cljs.pprint/pprint 0x20))

In Clojure, the equivalent code with {{clojure.pprint}} prints {{20}}.

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJS-3101 (reported by arcatan)
...