clojurewerkz / money

A Clojure library that deals with monetary values and currencies. Built on top of Joda Money.
155 stars 20 forks source link

Enhance comparison of monetary amounts, enhance min & max #2

Closed bpoweski closed 11 years ago

bpoweski commented 11 years ago

Good day,

I've added support for >, >=, < and <= using the underlying Joda money methods. In addition, I've overloaded the airity of max and min to for consistency with how clojure.core/max and clojure.core/min behave with additional arguments.

michaelklishin commented 11 years ago

Good idea. Can we type hint the return values?

michaelklishin commented 11 years ago

I released 1.1.0 with this change in. Thank you.