I'm learning clojure and have a very basic question: given that clojure has type infernece, how can you tell what class was inferred?
For instance, these would each result in difference data types:
(2)
(/ 2 3)
(/ 2.0 3)
Is there some kind of class
function that will return the data type? Also, is there a normal way of casting something to be a specific type? So in the second example above, what would I do if I wanted it to be float?