packages feed

pointfree-1.1.1.12: pointfree.cabal

Cabal-Version: >= 1.10

Name:     pointfree
Version:  1.1.1.12
Category: Tool
Synopsis: Tool for refactoring expressions into pointfree form

Description:
    The pointfree tool is a standalone command-line version of the pl
    plugin for lambdabot.

Author:       Thomas Jäger
Maintainer:   Ben Millwood <thebenmachine+git@gmail.com>
License:      OtherLicense
License-file: LICENSE

Extra-source-files: ChangeLog README test/Test.hs

Build-type:  Simple

-- matches the list in .github/workflows/ci.yml
Tested-with: GHC == 9.0.2, GHC == 9.2.5, GHC == 9.4.5, GHC == 9.6.2, GHC == 9.8.2

Source-repository head
  type:     git
  location: git://github.com/bmillwood/pointfree.git

Library
  Exposed-modules: Pointfree
  Default-language: Haskell2010

  Build-depends: base >= 4.5 && < 4.20,
                 array >= 0.3 && < 0.6,
                 containers >= 0.4 && < 0.8,
                 haskell-src-exts >= 1.20 && < 1.24,
                 transformers < 0.7
  Other-modules: Plugin.Pl.Common
                 Plugin.Pl.Parser
                 Plugin.Pl.PrettyPrinter
                 Plugin.Pl.Optimize
                 Plugin.Pl.Rules
                 Plugin.Pl.Transform
  GHC-options: -W

Executable pointfree
  Main-is:       Main.hs
  Default-language: Haskell2010
  GHC-options:   -W
  Build-depends: base >= 4.5 && < 4.20,
                 array >= 0.3 && < 0.6,
                 containers >= 0.4 && < 0.8,
                 haskell-src-exts >= 1.20 && < 1.24,
                 transformers < 0.7
  Other-modules: Plugin.Pl.Common
                 Plugin.Pl.Parser
                 Plugin.Pl.PrettyPrinter
                 Plugin.Pl.Optimize
                 Plugin.Pl.Rules
                 Plugin.Pl.Transform

Test-suite tests
  Type: exitcode-stdio-1.0

  Main-is: Test.hs
  Other-modules: Plugin.Pl.Common
                 Plugin.Pl.Parser
                 Plugin.Pl.PrettyPrinter
                 Plugin.Pl.Optimize
                 Plugin.Pl.Rules
                 Plugin.Pl.Transform

  Build-depends:
    base >= 4.5 && < 4.20,
    array >= 0.3 && < 0.6,
    containers >= 0.4 && < 0.8,
    haskell-src-exts >= 1.20 && < 1.24,
    HUnit >= 1.6 && < 1.7,
    QuickCheck >= 2.11 && < 2.15,
    transformers < 0.7

  Default-language: Haskell2010
  GHC-Options:    -W
  Hs-source-dirs: . test