format .cabal & comment out profiling

This commit is contained in:
Jack Wines 2024-04-19 15:16:32 -07:00
parent 4a2a916371
commit 7f6a95d19f
No known key found for this signature in database
GPG key ID: 25B20640600571E6

View file

@ -1,4 +1,5 @@
cabal-version: 3.4
-- Initial image-triangles.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
@ -43,66 +44,65 @@ build-type: Simple
-- README.
extra-source-files: README.md
executable image-triangles
-- .hs or .lhs file containing the Main module.
main-is: Main.hs
-- Modules included in this executable, other than Main.
other-modules: Triangles, MinDistanceSample
other-modules:
MinDistanceSample
Triangles
-- LANGUAGE extensions used by modules in this package.
default-extensions: ScopedTypeVariables,
OverloadedStrings,
TemplateHaskell,
DataKinds,
DeriveAnyClass,
FlexibleContexts,
FlexibleInstances,
MultiParamTypeClasses,
OverloadedLabels,
TypeFamilies,
TypeOperators,
TupleSections,
DeriveGeneric,
UndecidableInstances,
RecursiveDo,
RecordWildCards,
RankNTypes,
DuplicateRecordFields,
default-extensions:
DataKinds
DeriveAnyClass
DeriveGeneric
DuplicateRecordFields
FlexibleContexts
FlexibleInstances
MultiParamTypeClasses
OverloadedLabels
OverloadedStrings
RankNTypes
RecordWildCards
RecursiveDo
ScopedTypeVariables
StandaloneDeriving
TemplateHaskell
TupleSections
TypeFamilies
TypeOperators
UndecidableInstances
-- Other library packages from which modules are imported.
build-depends: base
, random
build-depends:
, array
, vector-th-unbox
, colour
, base
, Color
, diagrams-lib
, diagrams-cairo
, massiv-io
, massiv
, diagrams-svg
, diagrams-contrib
, parallel
, linear
, vector
, colour
, containers
, optparse-generic
, splitmix
, diagrams-cairo
, diagrams-contrib
, diagrams-lib
, diagrams-svg
, linear
, massiv
, massiv-io
, monad-parallel
, optparse-generic
, parallel
, random
, splitmix
, vector
, vector-th-unbox
-- Directories containing source files.
hs-source-dirs: src
-- Base language which the package is written in.
default-language: Haskell2010
ghc-options:
-fprof-auto
-- -threaded
"-with-rtsopts=-p"
-- -prof
-- -fexternal-interpreter
default-language: GHC2021
-- ghc-options:
-- -fprof-auto
-- "-with-rtsopts=-p"