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)
In Clojure + is a function. In haskell is a operator, If you want use him as function must be this way: (+) 2 2
It`s possible pass Functions as Arguments, but as Far as I know in haskell you need use nomads for that => http://stackoverflow.com/questions/3542397/passing-functions-as-argument