fp-il

My bachelor project (unfinished)
Log | Files | Refs

haskell.cabal (2432B)


      1 cabal-version:      3.0
      2 -- The cabal-version field refers to the version of the .cabal specification,
      3 -- and can be different from the cabal-install (the tool) version and the
      4 -- Cabal (the library) version you are using. As such, the Cabal (the library)
      5 -- version used must be equal or greater than the version stated in this field.
      6 -- Starting from the specification version 2.2, the cabal-version field must be
      7 -- the first thing in the cabal file.
      8 
      9 -- Initial package description 'haskell' generated by
     10 -- 'cabal init'. For further documentation, see:
     11 --   http://haskell.org/cabal/users-guide/
     12 --
     13 -- The name of the package.
     14 name:               haskell
     15 
     16 -- The package version.
     17 -- See the Haskell package versioning policy (PVP) for standards
     18 -- guiding when and how versions should be incremented.
     19 -- https://pvp.haskell.org
     20 -- PVP summary:     +-+------- breaking API changes
     21 --                  | | +----- non-breaking API additions
     22 --                  | | | +--- code changes with no API change
     23 version:            0.1.0.0
     24 
     25 -- A short (one-line) description of the package.
     26 -- synopsis:
     27 
     28 -- A longer description of the package.
     29 -- description:
     30 
     31 -- The license under which the package is released.
     32 license:            NONE
     33 
     34 -- The package author(s).
     35 -- author:
     36 
     37 -- An email address to which users can send suggestions, bug reports, and patches.
     38 -- maintainer:
     39 
     40 -- A copyright notice.
     41 -- copyright:
     42 build-type:         Simple
     43 
     44 -- Extra doc files to be distributed with the package, such as a CHANGELOG or a README.
     45 extra-doc-files:    CHANGELOG.md
     46 
     47 -- Extra source files to be distributed with the package, such as examples, or a tutorial module.
     48 -- extra-source-files:
     49 
     50 common warnings
     51     ghc-options: -Wall
     52 
     53 executable haskell
     54     -- Import common warning flags.
     55     import:           warnings
     56 
     57     -- .hs or .lhs file containing the Main module.
     58     main-is:          Main.hs
     59 
     60     -- Modules included in this executable, other than Main.
     61     other-modules: Lift, Types
     62 
     63     -- LANGUAGE extensions used by modules in this package.
     64     -- other-extensions:
     65 
     66     -- Other library packages from which modules are imported.
     67     build-depends:    base ^>=4.17.2.1,
     68                       llvm-codegen,
     69                       bound,
     70                       recursion-schemes
     71 
     72     -- Directories containing source files.
     73     hs-source-dirs:   app
     74 
     75     -- Base language which the package is written in.
     76     default-language: GHC2021