3 ms·
Clojure promotes Integer's to Long's and BigInteger's, if needed. Compare (type 5) (type 555555555555) (type 55555555555555555555555555555555555555555555555555
by cema 17y ago
Clojure promotes Integer's to Long's and BigInteger's, if needed. Compare
(type 5)
(type 555555555555)
(type 55555555555555555555555555555555555555555555555555555555555)
The difference is thus visible to the programmer and can be controlled with type hints.