News for hackers. Stuff that matters.
Re:A Scala DSL for currency-related operations by bronty on Saturday March 28, 2015 @09:25AM (#9281413)
Cool, I've added it to the list of financial DSL resources at http://dslfin.org/resources.html

What application domain are you working in that you know all the currencies at compile-time?

Re:A Scala DSL for currency-related operations by lambdista on Monday March 30, 2015 @07:52AM (#9288875)
I'm not working in any application domain in particular. That DSL just popped in my mind one morning at around 4.00 A.M. when I generally wake up to urinate. :)

Of course I didn't code all the currencies by hand. I just got the currency list from the Internet and then, using a RegExp, I generated the code.