packages feed

calculator-0.1.2.2: calculator.cabal

name:                calculator
version:             0.1.2.2
synopsis:            A calculator that operates on string inputs
description:         A calculator repl that processes mathematical expressions.
                     Does basic arithmetic, and provides pre-defined basic mathematical functions.
                     Aims to provide variable bindings and function bindings in the future.
homepage:            https://github.com/sumitsahrawat/calculator
license:             GPL-2
license-file:        LICENSE
author:              Sumit Sahrawat
maintainer:          sumit.sahrawat.apm13@itbhu.ac.in
-- copyright:           
category:            Math
build-type:          Simple
-- extra-source-files:  
cabal-version:       >=1.10

executable calculator
  main-is:             Main.hs
  other-modules:       Calculator.Evaluator
                     , Calculator.Parser
  -- other-extensions:    
  build-depends:       QuickCheck >= 2.7.6 && <2.7.7
                     , base >=4.7 && <4.8
                     , haskeline >=0.7.1.0 && <0.7.2.0
                     , parsec >=3.1.7 && <3.2
  hs-source-dirs:      src/
  ghc-options:         -Wall
  default-language:    Haskell2010

test-suite model-test-arithmetic
  type:                exitcode-stdio-1.0
  main-is:             Arithmetic.hs
  other-modules:       Calculator.Evaluator
                     , Calculator.Parser
                     , Model.Arithmetic
  hs-source-dirs:      tests/ src/
  build-depends:       QuickCheck >= 2.7.6 && <2.7.7
                     , base >=4.7 && <4.8
                     , parsec >=3.1.7 && <3.2
  ghc-options:         -Wall
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/sumitsahrawat/calculator.git