Skip to content

Comment on Learning Clojure with Project Eulerparent

Comments

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.