diff --git a/image-triangles.cabal b/image-triangles.cabal index eb8206f..debe9e6 100644 --- a/image-triangles.cabal +++ b/image-triangles.cabal @@ -1,9 +1,10 @@ -cabal-version: 3.4 +cabal-version: 3.4 + -- Initial image-triangles.cabal generated by cabal init. For further -- documentation, see http://haskell.org/cabal/users-guide/ -- The name of the package. -name: image-triangles +name: image-triangles -- The package version. See the Haskell package versioning policy (PVP) -- for standards guiding when and how versions should be incremented. @@ -11,7 +12,7 @@ name: image-triangles -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change -version: 0.1.0.0 +version: 0.1.0.0 -- A short (one-line) description of the package. -- synopsis: @@ -20,89 +21,88 @@ version: 0.1.0.0 -- description: -- The license under which the package is released. -license: BSD-3-Clause +license: BSD-3-Clause -- The file containing the license text. -license-file: LICENSE +license-file: LICENSE -- The package author(s). -author: Jack Wines +author: Jack Wines -- An email address to which users can send suggestions, bug reports, and -- patches. -maintainer: jackwines@mac.com +maintainer: jackwines@mac.com -- A copyright notice. -- copyright: -- category: -build-type: Simple +build-type: Simple -- Extra files to be distributed with the package, such as examples or a -- README. -extra-source-files: README.md - - +extra-source-files: README.md executable image-triangles -- .hs or .lhs file containing the Main module. - main-is: Main.hs + 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, - StandaloneDeriving + 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 - , array - , vector-th-unbox - , colour - , Color - , diagrams-lib - , diagrams-cairo - , massiv-io - , massiv - , diagrams-svg - , diagrams-contrib - , parallel - , linear - , vector - , containers - , optparse-generic - , splitmix - , monad-parallel - + build-depends: + , array + , base + , Color + , colour + , containers + , 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 + 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"