format .cabal & comment out profiling
This commit is contained in:
parent
4a2a916371
commit
7f6a95d19f
1 changed files with 60 additions and 60 deletions
|
|
@ -1,9 +1,10 @@
|
||||||
cabal-version: 3.4
|
cabal-version: 3.4
|
||||||
|
|
||||||
-- Initial image-triangles.cabal generated by cabal init. For further
|
-- Initial image-triangles.cabal generated by cabal init. For further
|
||||||
-- documentation, see http://haskell.org/cabal/users-guide/
|
-- documentation, see http://haskell.org/cabal/users-guide/
|
||||||
|
|
||||||
-- The name of the package.
|
-- The name of the package.
|
||||||
name: image-triangles
|
name: image-triangles
|
||||||
|
|
||||||
-- The package version. See the Haskell package versioning policy (PVP)
|
-- The package version. See the Haskell package versioning policy (PVP)
|
||||||
-- for standards guiding when and how versions should be incremented.
|
-- for standards guiding when and how versions should be incremented.
|
||||||
|
|
@ -11,7 +12,7 @@ name: image-triangles
|
||||||
-- PVP summary: +-+------- breaking API changes
|
-- PVP summary: +-+------- breaking API changes
|
||||||
-- | | +----- non-breaking API additions
|
-- | | +----- non-breaking API additions
|
||||||
-- | | | +--- code changes with no API change
|
-- | | | +--- code changes with no API change
|
||||||
version: 0.1.0.0
|
version: 0.1.0.0
|
||||||
|
|
||||||
-- A short (one-line) description of the package.
|
-- A short (one-line) description of the package.
|
||||||
-- synopsis:
|
-- synopsis:
|
||||||
|
|
@ -20,89 +21,88 @@ version: 0.1.0.0
|
||||||
-- description:
|
-- description:
|
||||||
|
|
||||||
-- The license under which the package is released.
|
-- The license under which the package is released.
|
||||||
license: BSD-3-Clause
|
license: BSD-3-Clause
|
||||||
|
|
||||||
-- The file containing the license text.
|
-- The file containing the license text.
|
||||||
license-file: LICENSE
|
license-file: LICENSE
|
||||||
|
|
||||||
-- The package author(s).
|
-- The package author(s).
|
||||||
author: Jack Wines
|
author: Jack Wines
|
||||||
|
|
||||||
-- An email address to which users can send suggestions, bug reports, and
|
-- An email address to which users can send suggestions, bug reports, and
|
||||||
-- patches.
|
-- patches.
|
||||||
maintainer: jackwines@mac.com
|
maintainer: jackwines@mac.com
|
||||||
|
|
||||||
-- A copyright notice.
|
-- A copyright notice.
|
||||||
-- copyright:
|
-- copyright:
|
||||||
|
|
||||||
-- category:
|
-- category:
|
||||||
|
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
|
|
||||||
-- Extra files to be distributed with the package, such as examples or a
|
-- Extra files to be distributed with the package, such as examples or a
|
||||||
-- README.
|
-- README.
|
||||||
extra-source-files: README.md
|
extra-source-files: README.md
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
executable image-triangles
|
executable image-triangles
|
||||||
-- .hs or .lhs file containing the Main module.
|
-- .hs or .lhs file containing the Main module.
|
||||||
main-is: Main.hs
|
main-is: Main.hs
|
||||||
|
|
||||||
-- Modules included in this executable, other than Main.
|
-- Modules included in this executable, other than Main.
|
||||||
other-modules: Triangles, MinDistanceSample
|
other-modules:
|
||||||
|
MinDistanceSample
|
||||||
|
Triangles
|
||||||
|
|
||||||
-- LANGUAGE extensions used by modules in this package.
|
-- LANGUAGE extensions used by modules in this package.
|
||||||
default-extensions: ScopedTypeVariables,
|
default-extensions:
|
||||||
OverloadedStrings,
|
DataKinds
|
||||||
TemplateHaskell,
|
DeriveAnyClass
|
||||||
DataKinds,
|
DeriveGeneric
|
||||||
DeriveAnyClass,
|
DuplicateRecordFields
|
||||||
FlexibleContexts,
|
FlexibleContexts
|
||||||
FlexibleInstances,
|
FlexibleInstances
|
||||||
MultiParamTypeClasses,
|
MultiParamTypeClasses
|
||||||
OverloadedLabels,
|
OverloadedLabels
|
||||||
TypeFamilies,
|
OverloadedStrings
|
||||||
TypeOperators,
|
RankNTypes
|
||||||
TupleSections,
|
RecordWildCards
|
||||||
DeriveGeneric,
|
RecursiveDo
|
||||||
UndecidableInstances,
|
ScopedTypeVariables
|
||||||
RecursiveDo,
|
StandaloneDeriving
|
||||||
RecordWildCards,
|
TemplateHaskell
|
||||||
RankNTypes,
|
TupleSections
|
||||||
DuplicateRecordFields,
|
TypeFamilies
|
||||||
StandaloneDeriving
|
TypeOperators
|
||||||
|
UndecidableInstances
|
||||||
|
|
||||||
-- Other library packages from which modules are imported.
|
-- Other library packages from which modules are imported.
|
||||||
build-depends: base
|
build-depends:
|
||||||
, random
|
, array
|
||||||
, array
|
, base
|
||||||
, vector-th-unbox
|
, Color
|
||||||
, colour
|
, colour
|
||||||
, Color
|
, containers
|
||||||
, diagrams-lib
|
, diagrams-cairo
|
||||||
, diagrams-cairo
|
, diagrams-contrib
|
||||||
, massiv-io
|
, diagrams-lib
|
||||||
, massiv
|
, diagrams-svg
|
||||||
, diagrams-svg
|
, linear
|
||||||
, diagrams-contrib
|
, massiv
|
||||||
, parallel
|
, massiv-io
|
||||||
, linear
|
, monad-parallel
|
||||||
, vector
|
, optparse-generic
|
||||||
, containers
|
, parallel
|
||||||
, optparse-generic
|
, random
|
||||||
, splitmix
|
, splitmix
|
||||||
, monad-parallel
|
, vector
|
||||||
|
, vector-th-unbox
|
||||||
|
|
||||||
-- Directories containing source files.
|
-- Directories containing source files.
|
||||||
hs-source-dirs: src
|
hs-source-dirs: src
|
||||||
|
|
||||||
-- Base language which the package is written in.
|
-- Base language which the package is written in.
|
||||||
default-language: Haskell2010
|
default-language: GHC2021
|
||||||
ghc-options:
|
|
||||||
-fprof-auto
|
-- ghc-options:
|
||||||
-- -threaded
|
-- -fprof-auto
|
||||||
"-with-rtsopts=-p"
|
-- "-with-rtsopts=-p"
|
||||||
-- -prof
|
|
||||||
-- -fexternal-interpreter
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue