packages feed

wires-0.2.0: wires.cabal

name:     wires
version:  0.2.0
category: Control, FRP
synopsis: Functional reactive programming library

maintainer:   Ertugrul Söylemez <esz@posteo.de>
author:       Ertugrul Söylemez <esz@posteo.de>
copyright:    Copyright 2017 Ertugrul Söylemez
homepage:     https://github.com/esoeylemez/wires
bug-reports:  https://github.com/esoeylemez/wires/issues
license:      BSD3
license-file: LICENSE

description:  Functional reactive programming library.

build-type:         Simple
cabal-version:      >= 1.10
extra-source-files: CHANGELOG.md README.md

source-repository head
    type:     git
    location: https://github.com/esoeylemez/wires.git

flag Examples
    default: False
    description: Build the example programs
    manual: True


library
    build-depends:
        base >= 4.8 && < 5,
        deepseq == 1.4.*,
        mtl >= 2.0 && < 2.3,
        profunctors >= 5.0 && < 5.3,
        semigroupoids >= 5.0 && < 5.2,
        these == 0.7.*
    default-language: Haskell2010
    ghc-options: -W
    exposed-modules:
        Control.Wire
        Control.Wire.Controller
        Control.Wire.Core
        Control.Wire.Internal
        Control.Wire.Trans
        Control.Wire.Utils
        Control.Wire.Varying

executable wires-feedback
    if flag(examples)
        build-depends:
            base >= 4.8 && < 5,
            wires
    else
        buildable: False
    default-language: Haskell2010
    ghc-options: -threaded -fdefer-typed-holes
    hs-source-dirs: examples
    main-is: feedback.hs

executable wires-ping-pong
    if flag(examples)
        build-depends:
            base >= 4.8 && < 5,
            clock,
            containers,
            profunctors,
            wires
    else
        buildable: False
    default-language: Haskell2010
    ghc-options: -threaded -fdefer-typed-holes
    hs-source-dirs: examples
    main-is: ping-pong.hs
    other-modules: Utils