Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 5 commits into from Apr 7, 2013

Conversation

bpoweski
Copy link
Contributor

@bpoweski bpoweski commented Apr 7, 2013

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
Copy link
Member

Good idea. Can we type hint the return values?

michaelklishin pushed a commit that referenced this pull request Apr 7, 2013
Enhance comparison of monetary amounts, enhance min & max
@michaelklishin michaelklishin merged commit 69399e5 into clojurewerkz:master Apr 7, 2013
@michaelklishin
Copy link
Member

I released 1.1.0 with this change in. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants