Yes, read-string is awesome, but that doesn't work as a number
protocol.

Python's int works on numbers and strings, and returns an int.  A set
of Clojure protocols that do the same would be very, very handy.

Sean

On Oct 28, 10:22 am, Stuart Sierra <the.stuart.sie...@gmail.com>
wrote:
> You can use `read-string` as a general-purpose String-to-Number conversion.
>
> -S

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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