This gist and a Functional Society Gist to talk about Calculator homework, so people can share links and help each other to get the homework right and make questions, get you question answered and so on and on...
We need code a simple calculator in Scala and Haskell:
Calculator, basic operations: +, -, /, * (Remember State and Side Effects are not desired)
I'm almost sure that we can do that in haskell but I just don't know how. I would like to create a function that receives a mathematical operator like parameter and execute inside. For other functions we can do something like 'map' and send. Then it'll be executed.
Thanks!