aboutsummaryrefslogtreecommitdiffstats
path: root/realCalc.cabal
diff options
context:
space:
mode:
authorRaymond Hogenson <rhogenson@posteo.net>2018-05-17 09:42:44 -0800
committerRaymond Hogenson <rhogenson@posteo.net>2018-05-17 09:43:54 -0800
commit78001436a52a4cc9b5e22bca489fb8ed09a72376 (patch)
tree0c88a126b1169000d6312d21792b10e8724fab6f /realCalc.cabal
downloadhsc-78001436a52a4cc9b5e22bca489fb8ed09a72376.tar.zst
Write a calculator
It's pretty nice. It works for what I want. I don't think I have any complaints about its functionality. I'll add new functions as I need them. Haskell is actually really easy to program in. I wonder actually if this would have been easier in Python. I think no.
Diffstat (limited to 'realCalc.cabal')
-rw-r--r--realCalc.cabal68
1 files changed, 68 insertions, 0 deletions
diff --git a/realCalc.cabal b/realCalc.cabal
new file mode 100644
index 0000000..6adede9
--- /dev/null
+++ b/realCalc.cabal
@@ -0,0 +1,68 @@
+-- Initial realCalc.cabal generated by cabal init. For further
+-- documentation, see http://haskell.org/cabal/users-guide/
+
+-- The name of the package.
+name: realCalc
+
+-- The package version. See the Haskell package versioning policy (PVP)
+-- for standards guiding when and how versions should be incremented.
+-- https://wiki.haskell.org/Package_versioning_policy
+-- PVP summary: +-+------- breaking API changes
+-- | | +----- non-breaking API additions
+-- | | | +--- code changes with no API change
+version: 0.1
+
+-- A short (one-line) description of the package.
+synopsis: Probably something like this already exists
+
+-- A longer description of the package.
+-- description:
+
+-- The license under which the package is released.
+license: GPL-3
+
+-- The file containing the license text.
+license-file: LICENSE
+
+-- The package author(s).
+author: Raymond Hogenson
+
+-- An email address to which users can send suggestions, bug reports, and
+-- patches.
+maintainer: rhogenson@posteo.net
+
+-- A copyright notice.
+-- copyright:
+
+category: Math
+
+build-type: Simple
+
+-- Extra files to be distributed with the package, such as examples or a
+-- README.
+extra-source-files: ChangeLog.md
+
+-- Constraint on the version of Cabal needed to build this package.
+cabal-version: >=1.10
+
+
+executable realCalc
+ -- .hs or .lhs file containing the Main module.
+ main-is: main.hs
+
+ -- Modules included in this executable, other than Main.
+ -- other-modules:
+
+ -- LANGUAGE extensions used by modules in this package.
+ -- other-extensions:
+
+ -- Other library packages from which modules are imported.
+ build-depends: base >=4.9 && <5.0, containers >=0.5 && <1.0, parsec >=3.1 && <4.0, gtk3 >=0.14.8 && <1.0.0
+
+ -- Directories containing source files.
+ -- hs-source-dirs:
+
+ -- Base language which the package is written in.
+ default-language: Haskell2010
+
+ ghc-options: -Wall -Werror