mirror of
https://github.com/penpot/penpot.git
synced 2026-09-19 02:16:14 +00:00
Review assumed int? was 32-bit; it covers Long/Integer/Short/Byte. Note it in mem:clojure/idioms so the mistake is not repeated. AI-assisted-by: muse-spark-1.3-contributor
473 B
473 B
Clojure Idioms (verified)
Behaviors confirmed against the language/stdlib — do not re-derive from assumption; a wrong assumption here already cost a review round.
int?is NOT 32-bit-only: true forLong,Integer,Short,Byte(fixed-precision integers). Clojure integer literals areLong, so(int? 5000)is true.integer?is the general integer predicate; prefer it when any integer kind must match,int?only when fixed precision is meant.