It seems that the ratio datatype is simply missing from the specification.
Nevertheless pr-str and clojure-edn/read-string both handle ratios ,e.g.1/2 3/5, as if they were part of the spec.
user=> (pr-str 2/4)
"1/2"
user=> (clojure.edn/read-string "1/2")
1/2
It seems that the ratio datatype is simply missing from the specification.
Nevertheless
pr-strandclojure-edn/read-stringboth handle ratios ,e.g.1/23/5, as if they were part of the spec.