Closed rlhk closed 4 years ago
where are the inconsistencies? seems like they are consistent
where are the inconsistencies? seems like they are consistent
For cuerdas' tolerance nature, think (str/parse-number "00898")
should return a double 898
instead of throwing?
Like
(= (str/parse-number "00898") (str/parse-double))
You are right, on the end i think i will remove this functions because they are also inconsistent in return type and in fact cuerdas is a string manipulation library not a numbers parsing library; so i think this functions should live outside of cuerdas.
Agreed. Thanks for replying.
We should fix
parse-number
behaviour. Happy to submit fix if agreed.Clojure:
ClojureScript: