Skip to content

changgyhub/haskell-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Haskell Calculator

A Haskell calculator, project for the Functional Programming Course in HKU.

calculator

Note

Do not copy contents of this repo for course assignments. You should take the responsibility for any form of plagiarism.

Development Platform

  • macOS Sierra Version 10.12
  • The Glorious Glasgow Haskell Compilation System, version 7.10.3

Usage

  $ cd src
  $ ghci Calculator.hs
  *Main> main

Enabled Functionalities

  • Cap M: change between HEX and DEC mode.
  • Cap D: delete
  • Cap C: all clear
  • Cap Q: quit
  • sqr(): square
  • neg(): negation
  • +-*/%: operators
  • (): order parser

Releases

No releases published

Packages

No packages published