Last active
August 14, 2017 16:00
-
-
Save deque-blog/f56aaa315c980f6effc707b213b7fa62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Successful evaluation | |
evalMoneyIn findRate moneyExpr "USD" | |
> Just (Money {amount = 100.0, currency = "USD"}) | |
-- Failing evaluation | |
evalMoneyIn findRate moneyExpr "USD" | |
> Nothing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment