Stephen C. Gilardi a écrit : > These could also have shorter spellings: > > (in-ns 'clojure.core) > (def +inf Double/POSITIVE_INFINITY) > (def -inf Double/NEGATIVE_INFINITY) > > yielding: > > (range +inf)
I like those a lot. And I wish I had known about Double/POSITIVE_INFINITY earlier. Now that I do, I'll go simplify my code in a couple of places... Konrad. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---