forked from ivanperez-keera/Yampa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Yampa-core.cabal
135 lines (117 loc) · 3.8 KB
/
Yampa-core.cabal
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
name: Yampa-core
version: 0.2.0
cabal-version: >= 1.8
license: BSD3
license-file: LICENSE
author: Henrik Nilsson, Antony Courtney
maintainer: Mykola Orliuk (virkony@gmail.com)
homepage: https://github.com/ony/Yampa-core
category: Reactivity, FRP
synopsis: Library for programming hybrid systems.
description: Domain-specific language embedded in Haskell for programming
hybrid (mixed discrete-time and continuous-time) systems. Yampa is based on
the concepts of Functional Reactive Programming (FRP) and is structured using
arrow combinators. Yampa-core is a fork of Yampa that prefer to use other
Haskell libraries like deepseq and vector-space.
build-type: Simple
extra-source-files:
tests/AFRPTests.hs, tests/AFRPTestsCommon.hs, tests/AFRPTestsArr.hs,
tests/AFRPTestsComp.hs, tests/AFRPTestsFirstSecond.hs, tests/AFRPTestsLaws.hs,
tests/AFRPTestsLoop.hs, tests/AFRPTestsLoopLaws.hs, tests/AFRPTestsBasicSF.hs,
tests/AFRPTestsSscan.hs, tests/AFRPTestsEvSrc.hs, tests/AFRPTestsCOC.hs,
tests/AFRPTestsSwitch.hs, tests/AFRPTestsKSwitch.hs, tests/AFRPTestsRSwitch.hs,
tests/AFRPTestsPSwitch.hs, tests/AFRPTestsRPSwitch.hs, tests/AFRPTestsWFG.hs,
tests/AFRPTestsAccum.hs, tests/AFRPTestsPre.hs, tests/AFRPTestsDelay.hs,
tests/AFRPTestsDer.hs, tests/AFRPTestsLoopPre.hs, tests/AFRPTestsLoopIntegral.hs,
tests/AFRPTestsReact.hs, tests/AFRPTestsEmbed.hs, tests/AFRPTestsUtils.hs,
tests/AFRPTestsTask.hs, tests/testAFRPMain.hs,
examples/Elevator/Elevator.hs,
examples/Elevator/TestElevatorMain.hs,
examples/TailgatingDetector/TailgatingDetector.hs,
examples/TailgatingDetector/TestTGMain.hs,
CHANGELOG
-- You can disable the hlint test suite with -f-test-hlint
flag test-hlint
default: False
manual: True
flag test-afrp
default: False
manual: True
description: Enable semi-manual tests (monitor space-time leak)
flag examples
default: False
manual: True
description: Build all examples
library
hs-source-dirs: src
ghc-options : -O3 -Wall -fno-warn-name-shadowing
extensions: GADTs, TypeFamilies, Rank2Types, CPP, Arrows, FlexibleContexts
build-Depends: base < 5, random, vector-space >= 0.5, deepseq >= 1.1
exposed-modules:
-- Main FRP modules
FRP.Yampa
FRP.Yampa.Event
FRP.Yampa.Internals
FRP.Yampa.Task
-- FRP Core (minimal complete definition)
FRP.Yampa.Core
-- Auxiliary definitions
FRP.Yampa.MergeableRecord
FRP.Yampa.Miscellany
FRP.Yampa.Utilities
FRP.Yampa.Basic
FRP.Yampa.Conditional
FRP.Yampa.Delays
FRP.Yampa.Diagnostics
FRP.Yampa.EventS
FRP.Yampa.Hybrid
FRP.Yampa.Integration
FRP.Yampa.Loop
FRP.Yampa.Random
FRP.Yampa.Scan
FRP.Yampa.Simulation
FRP.Yampa.Switches
FRP.Yampa.Time
other-modules:
FRP.Yampa.InternalCore
test-suite hlint
type: exitcode-stdio-1.0
main-is: hlint.hs
hs-source-dirs: tests
if !flag(test-hlint)
buildable: False
else
build-depends:
base,
hlint >= 1.7
test-suite testAFRP
type: exitcode-stdio-1.0
main-is: testAFRPMain.hs
hs-source-dirs: tests
build-depends:
base,
Yampa-core <0.3
if !flag(test-afrp)
buildable: False
executable YampaElevator
main-is: TestElevatorMain.hs
hs-source-dirs: examples/Elevator
build-depends:
base <5,
Yampa-core <0.3
if !flag(examples)
buildable: False
executable YampaTailgatingDetector
main-is: TestTGMain.hs
hs-source-dirs: examples/TailgatingDetector
build-depends:
base <5,
Yampa-core <0.3
if !flag(examples)
buildable: False
source-repository head
type: git
location: git://github.com/ivanperez-keera/Yampa.git
source-repository head
type: git
location: git://github.com/ony/Yampa-core.git