Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
evalMoneyIn :: -- Evaluate an Money expression
(Conversion -> Maybe Rate) -- * Given a way to retrieve a rate
-> MoneyExpr -- * A money expression to evaluate
-> Currency -- * And a destination currency
-> Maybe Money -- Returns a known amount (or fails)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment