-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.yaml
120 lines (120 loc) · 2.45 KB
/
package.yaml
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
name: stc-lang
version: '1.0.0'
category: Concurrency, Development
author: Norman Rink, Sebastian Ertel, Justus Adam
maintainer: [email protected]
copyright: 2017-2019 Norman Rink, Sebastian Ertel, Justus Adam
license: BSD3
synopsis: A library for implicit, monadic dataflow parallelism
description: See the <https://github.com/ohua-dev/stc-lang#readme readme>
homepage: https://github.com/ohua-dev/stc-lang#readme
git: https://github.com/ohua-dev/stc-lang
extra-source-files:
- README.md
ghc-options:
- -Wall
- -O2
dependencies:
- base >=4.7 && <5
- mtl
- deepseq
- microlens
- transformers
default-extensions:
- DeriveGeneric
- ExistentialQuantification
- ExplicitForAll
- FlexibleContexts
- FlexibleInstances
- ScopedTypeVariables
- TupleSections
- LambdaCase
- RankNTypes
- NamedFieldPuns
- MultiParamTypeClasses
- RecordWildCards
- TypeSynonymInstances
- BangPatterns
- DeriveFunctor
- RecordWildCards
library:
source-dirs: src
ghc-options:
- -fPIC
- -fno-cse
exposed-modules:
- Control.Monad.SD
- Data.Dynamic2
- Data.StateElement
- Type.Magic
- Control.Monad.Generator
- Control.Monad.Stream
- Control.Monad.Stream.Chan
- Control.Monad.Stream.Par
- Control.Monad.Stream.PinnedChan
other-modules:
- Control.Monad.SD.Case
- Control.Monad.SD.Combinator
- Control.Monad.SD.FRP
- Control.Monad.SD.Ohua
- Control.Monad.SD.STCLang
- Control.Monad.SD.Smap
dependencies:
- monad-par
- monad-par-extras
- abstract-par
- bytestring
- BoundedChan
when:
- condition: flag(debug-sched)
cpp-options: -DDEBUG_SCHED
- condition: impl(ghc >= 8.0.0)
then:
other-modules: [Type.Magic.GHC8]
else:
other-modules: [Type.Magic.OldGHC]
executables:
ohua-stream-bench:
main: algo.hs
source-dirs: stream-bench
ghc-options:
- -threaded
- -with-rtsopts=-N
dependencies:
- stc-lang
- hashtables
- text
- hashable
- aeson
- bytestring
- hedis
- uuid-types
- random
- hw-kafka-client
- microlens-aeson
- yaml
- random
- clock
- vector
- BoundedChan
tests:
statefulness-test:
main: Spec.hs
source-dirs:
- test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N4
dependencies:
- stc-lang
- test-framework
- test-framework-hunit
- HUnit
- ghc-prim
- time
flags:
debug-sched:
description: Enable the debuggable scheduler
manual: true
default: false