summaryrefslogtreecommitdiff
path: root/reflex-basic-host.cabal
blob: c9e25e783c12424814770c82c566e99f5594c13d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name:                reflex-basic-host
version:             0.2.0.1
license:             BSD3
license-file:        LICENCE
author:              Dave Laing
maintainer:          dave.laing.80@gmail.com, jack.kelly@data61.csiro.au
homepage:            https://github.com/qfpl/reflex-basic-host/
bug-reports:         https://github.com/qfpl/reflex-basic-host/issues
copyright:           Copyright (c) 2019, Commonwealth Scientific and Industrial Research Organisation (CSIRO) ABN 41 687 119 230.
build-type:          Simple
extra-source-files:  ChangeLog.md
cabal-version:       >=1.10
category:            FRP
synopsis:            A basic Reflex host for backend work
description:
  <<https://raw.githubusercontent.com/qfpl/assets/master/data61-transparent-bg.png>>
  .
  reflex-basic-host provides a basic Reflex host for backend work. It
  provides instances for most of the important Reflex typeclasses.
  .
  @Reflex.Host.Basic.basicHostWithQuit@ is the main entry point for
  running FRP code. Use the @TriggerEvent@ instance to construct
  @Event@s and control when they fire, and use the @PerformEvent@
  instance to take actions in response to @Event@ firings.

tested-with:         GHC == 8.0.2
                   , GHC == 8.2.2
                   , GHC == 8.4.4
                   , GHC == 8.6.5

source-repository    head
  type:              git
  location:          git@github.com:qfpl/reflex-basic-host.git

library
  exposed-modules:     Reflex.Host.Basic
  build-depends:       base >=4.9 && <4.14
                     , dependent-sum >= 0.4 && < 0.7
                     , lens >= 3.6 && < 4.19
                     , mtl >= 2.2 && < 2.3
                     , primitive >= 0.6 && < 0.8
                     , ref-tf >= 0.4 && < 0.5
                     , reflex >= 0.6 && < 0.7
                     , stm >= 2.4 && < 2.6
  hs-source-dirs:      src
  ghc-options:         -Wall
  default-language:    Haskell2010

executable example
  main-is:             Main.hs
  build-depends:       base >=4.9 && <4.14
                     , reflex >= 0.6 && < 0.7
                     , reflex-basic-host
  hs-source-dirs:      example
  ghc-options:         -Wall
  default-language:    Haskell2010

executable counter
  main-is:             Counter.hs
  build-depends:       base >=4.9 && <4.14
                     , reflex >= 0.6 && < 0.7
                     , reflex-basic-host
  hs-source-dirs:      example
  ghc-options:         -Wall
  default-language:    Haskell2010

executable multithread
  main-is:             Multithread.hs
  build-depends:       base >=4.9 && <4.14
                     , lens >= 3.6 && < 4.18
                     , reflex >= 0.6 && < 0.7
                     , reflex-basic-host
                     , witherable >= 0.2 && < 0.4
  hs-source-dirs:      example
  ghc-options:         -Wall
  default-language:    Haskell2010