A Haskell calculator, project for the Functional Programming Course in HKU.
Do not copy contents of this repo for course assignments. You should take the responsibility for any form of plagiarism.
- macOS Sierra Version 10.12
- The Glorious Glasgow Haskell Compilation System, version 7.10.3
$ cd src
$ ghci Calculator.hs
*Main> main
Cap M
: change between HEX and DEC mode.Cap D
: deleteCap C
: all clearCap Q
: quitsqr()
: squareneg()
: negation+-*/%
: operators()
: order parser