packages feed

cornea-0.3.1.1: cornea.cabal

cabal-version:      1.12
name:               cornea
version:            0.3.1.1
license:            OtherLicense
license-file:       LICENSE
copyright:          2019 Torsten Schmits
maintainer:         tek@tryp.io
author:             Torsten Schmits
homepage:           https://github.com/tek/cornea#readme
bug-reports:        https://github.com/tek/cornea/issues
synopsis:           classy optical monadic state
description:
    Please see the README on GitHub at <https://github.com/tek/cornea>

category:           Lens
build-type:         Simple
extra-source-files: README.md

source-repository head
    type:     git
    location: https://github.com/tek/cornea

library
    exposed-modules:
        Control.Monad.DeepError
        Control.Monad.DeepReader
        Control.Monad.DeepState
        Cornea
        Data.DeepLenses
        Data.DeepPrisms

    hs-source-dirs:     lib
    other-modules:      Prelude
    default-language:   Haskell2010
    default-extensions:
        AllowAmbiguousTypes AutoDeriveTypeable BangPatterns BinaryLiterals
        ConstraintKinds DataKinds DefaultSignatures DeriveDataTypeable
        DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable
        DoAndIfThenElse EmptyDataDecls ExistentialQuantification
        FlexibleContexts FlexibleInstances FunctionalDependencies GADTs
        GeneralizedNewtypeDeriving InstanceSigs KindSignatures LambdaCase
        MonadFailDesugaring MultiParamTypeClasses MultiWayIf NamedFieldPuns
        OverloadedStrings PartialTypeSignatures PatternGuards PolyKinds
        RankNTypes RecordWildCards ScopedTypeVariables StandaloneDeriving
        TemplateHaskell TupleSections TypeApplications TypeFamilies
        TypeSynonymInstances UndecidableInstances UnicodeSyntax
        ViewPatterns

    build-depends:
        base-noprelude >=4.7 && <5,
        either >=5.0.1.1 && <5.1,
        lens >=4.18.1 && <4.19,
        lifted-base >=0.2.3.12 && <0.3,
        monad-control >=1.0.2.3 && <1.1,
        mtl >=2.2.2 && <2.3,
        relude >=0.7.0.0 && <0.8,
        template-haskell >=2.15.0.0 && <2.16,
        th-abstraction >=0.3.2.0 && <0.4,
        transformers >=0.5.6.2 && <0.6

test-suite cornea-unit
    type:               exitcode-stdio-1.0
    main-is:            SpecMain.hs
    hs-source-dirs:     test/u
    other-modules:
        DeepErrorSpec
        DeepReaderSpec
        DeepStateSpec
        Prelude
        Paths_cornea

    default-language:   Haskell2010
    default-extensions:
        AllowAmbiguousTypes AutoDeriveTypeable BangPatterns BinaryLiterals
        ConstraintKinds DataKinds DefaultSignatures DeriveDataTypeable
        DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable
        DoAndIfThenElse EmptyDataDecls ExistentialQuantification
        FlexibleContexts FlexibleInstances FunctionalDependencies GADTs
        GeneralizedNewtypeDeriving InstanceSigs KindSignatures LambdaCase
        MonadFailDesugaring MultiParamTypeClasses MultiWayIf NamedFieldPuns
        OverloadedStrings PartialTypeSignatures PatternGuards PolyKinds
        RankNTypes RecordWildCards ScopedTypeVariables StandaloneDeriving
        TemplateHaskell TupleSections TypeApplications TypeFamilies
        TypeSynonymInstances UndecidableInstances UnicodeSyntax
        ViewPatterns

    ghc-options:        -threaded -rtsopts -with-rtsopts=-N
    build-depends:
        HTF >=0.14.0.3 && <0.15,
        base-noprelude >=4.7 && <5,
        cornea -any,
        either >=5.0.1.1 && <5.1,
        lens >=4.18.1 && <4.19,
        lifted-base >=0.2.3.12 && <0.3,
        monad-control >=1.0.2.3 && <1.1,
        mtl >=2.2.2 && <2.3,
        relude >=0.7.0.0 && <0.8,
        template-haskell >=2.15.0.0 && <2.16,
        th-abstraction >=0.3.2.0 && <0.4,
        transformers >=0.5.6.2 && <0.6