It might be nice if there were a function that automatically converted
the number to the type that Clojure uses for that number if typed in
as a literal.

On Tue, Jan 13, 2009 at 7:27 PM, Stuart Sierra
<the.stuart.sie...@gmail.com> wrote:
>
> FYI, You can coerce to specific types with the functions int, long,
> short, etc.  You could use that when creating your map to ensure the
> keys are the correct type.
>
> -Stuart Sierra
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to