packages feed

control-dsl-0.2.0.0: control-dsl.cabal

cabal-version: >=1.10
name: control-dsl
version: 0.2.0.0
license: BSD3
license-file: LICENSE
copyright: 2018 Yang Bo
maintainer: pop.atry@gmail.com
author: Yang Bo
homepage: https://github.com/Atry/Control.Dsl#readme
bug-reports: https://github.com/Atry/Control.Dsl/issues
synopsis: An alternative to monads
description:
    This \"control-dsl\" package is a toolkit to create extensible Domain Specific Languages in @do@-notation.
    .
    See "Control.Dsl" for more information.
category: Control, DSL, Effect, General, Language, Mutable State, IO, Polymorphism
build-type: Simple
extra-source-files:
    ChangeLog.md
    README.md

source-repository head
    type: git
    location: https://github.com/Atry/Control.Dsl

library
    exposed-modules:
        Control.Dsl
        Control.Dsl.Cont
        Control.Dsl.Empty
        Control.Dsl.Monadic
        Control.Dsl.PolyCont
        Control.Dsl.Return
        Control.Dsl.Shift
        Control.Dsl.State
        Control.Dsl.State.Get
        Control.Dsl.State.Put
        Control.Dsl.Yield
    hs-source-dirs: src
    other-modules:
        Control.Dsl.Dsl
        Control.Dsl.State.State
    default-language: Haskell2010
    other-extensions: RebindableSyntax MultiParamTypeClasses
                      TypeOperators FlexibleInstances FlexibleContexts
                      UndecidableInstances RankNTypes GADTs
    build-depends:
        base >=4.8 && <5

test-suite doctests
    type: exitcode-stdio-1.0
    main-is: doctest-driver.hs
    hs-source-dirs: test
    other-modules:
        Paths_control_dsl
    default-language: Haskell2010
    other-extensions: TypeApplications
    ghc-options: -threaded -rtsopts -with-rtsopts=-N
    build-depends:
        base >=4.8 && <5,
        containers >=0.5.11.0 && <0.6,
        control-dsl -any,
        doctest >=0.16.0.1 && <0.17,
        doctest-discover >=0.1.0.9 && <0.2,
        temporary ==1.3.*