I don't see any reason for it to include !=, which can be implemented as (not (= a b)). Conversely, <= could be implemented as (or (< a b) (= a b)), but if either of those is expensive operations he gives you a chance to do a more-optimized <=. There's not much point in forcing people to implement not= for each data type, if it can be implemented once elsewhere.
On Sep 1, 1:08 am, Sam Aaron <samaa...@gmail.com> wrote: > Hi Konrad, > > that's great news :-) > > Thanks for such a useful set of libraries. Oh, and whilst we're on the > subject, is there any reason why generic.comparison doesn't include != > > Sam > > ---http://sam.aaron.name > > On 1 Sep 2011, at 08:29, Konrad Hinsen wrote: > > > > > > > > > On 31 août 11, at 17:04, Sam Aaron wrote: > > >> is anyone aware of any plans to move Konrad Hinsen's generic math, > >> comparator and arithmetic libraries to new separate 1.3 contrib libs? > > >> *http://richhickey.github.com/clojure-contrib/generic.math-functions-a... > >> *http://richhickey.github.com/clojure-contrib/generic.arithmetic-api.html > >> *http://richhickey.github.com/clojure-contrib/generic.comparison-api.html > > > Yes, me :-) > > > As so often, all I need is time. But since I plan to move all my code to > > 1.3 soon, I'll have to migrate those libraries soon as well. They will be > > under algo.generic: > > > http://github.com/clojure/algo.generic.git > > > 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 -- 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