packages feed

pointfree-fancy-1.1.1.15: pointfree-fancy.cabal

cabal-version:      2.0
name:               pointfree-fancy
version:            1.1.1.15
license:            BSD3
license-file:       LICENSE
maintainer:         Vanessa McHale <vamchale@gmail.com>
author:             Thomas Jäger
tested-with:
    ghc ==8.0.2 ghc ==8.2.2 ghc ==8.4.4 ghc ==7.10.3 ghc ==8.6.4

synopsis:           Tool for refactoring expressions into pointfree form
description:
    The pointfree tool is a standalone command-line version of the pl
    plugin for lambdabot.

category:           Tool
build-type:         Simple
extra-source-files:
    ChangeLog
    README

source-repository head
    type:     git
    location: git://github.com/benmachine/pointfree.git

library
    exposed-modules:  Pointfree
    hs-source-dirs:   lib
    default-language: Haskell98
    ghc-options:      -Wall
    build-depends:
        base -any,
        pointfree-internal -any

library pointfree-internal
    exposed-modules:
        Plugin.Pl.Common
        Plugin.Pl.Parser
        Plugin.Pl.PrettyPrinter
        Plugin.Pl.Optimize
        Plugin.Pl.Rules
        Plugin.Pl.Transform

    hs-source-dirs:   src
    default-language: Haskell98
    other-extensions:
        FlexibleInstances PatternGuards ImplicitParams
        ExistentialQuantification FlexibleInstances ScopedTypeVariables

    ghc-options:      -Wall
    build-depends:
        base >=4.9 && <5.0,
        array >=0.3 && <0.6,
        containers >=0.4 && <0.7,
        haskell-src-exts >=1.20 && <1.23,
        transformers <0.6

executable pointfree
    main-is:          Main.hs
    default-language: Haskell98
    ghc-options:      -Wall
    build-depends:
        base >=4.3 && <5.0,
        pointfree-internal -any

test-suite tests
    type:             exitcode-stdio-1.0
    main-is:          Test.hs
    hs-source-dirs:   . test
    default-language: Haskell98
    ghc-options:      -Wall
    build-depends:
        base <5,
        pointfree-internal -any,
        HUnit >=1.1 && <1.7,
        QuickCheck >=2.1 && <2.14