Ints are handled like floats, nils get a null pointer exception.



Btw there's a lot of overlap between gbif.clj and common.clj. The
utility functions should go in common.clj, no?



Also, none of the tests in fossa migrated over. Any reason not to add
them now?





On Tue, Apr 16, 2013, at 11:30 AM, Aaron Steele wrote:

  In src/clj/teratorn/common.clj:
> @@ -81,6 +81,17 @@
>    [& x]
>    (str (java.util.UUID/randomUUID)))
>
> +(defn parse-double

  yup exact. how's this handle ints or nils?

  —

Reply to this email directly or [1]view it on GitHub.
[RkOat9Y1_FdXL0zywX1whj2v435D0bbmCpGeJpQkHFdIOP5tqj6-wLui2I_XuyR3.gif]

References

1. https://github.com/MapofLife/teratorn/pull/2/files#r3818012