concept primitive type in category clojure

appears as: primitive type, primitive types, primitive type, primitives types, primitive types
Clojure: The Essential Reference

This is an excerpt from Manning's book Clojure: The Essential Reference.

  • UnsupportedOperationException when type hinting a local binding with a primitive type. For example the following expression is not valid: (let [^long i 0]). let automatically recognizes types for primitive locals (like longs, doubles, etc.) and does not accept type hints in this case.
  • make-array is the most general function to create empty arrays (where empty means array initialized with the default value for the requested type). The need for arrays of primitive types is so common that an entire collection of array initializers has been dedicated to that task. We are going to see them in the following section.