-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcgp.cabal
65 lines (53 loc) · 1.61 KB
/
cgp.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
cabal-version: 2.4
name: context-generic-programming-demo
version: 0.1.0.0
description: A demo of using context-generic programming in Haskell
bug-reports: https://github.com/maybevoid/context-generic-programming-hs-demo
license: BSD-3-Clause
author: Soares Chen
maintainer: [email protected]
library
exposed-modules:
Demo3.Contexts.Mock
Demo3.Types.Person
other-modules:
Demo3.Classes.Errors.PersonNotFound
Demo3.Classes.Errors.ShopClosed
Demo3.Classes.Greeter
Demo3.Classes.Monad
Demo3.Classes.Person
Demo3.Classes.PersonMap
Demo3.Classes.PersonQuerier
Demo3.Classes.Time
Demo3.Components.DaytimeGreeter
Demo3.Components.QueryPersonFromMap
Demo3.Components.SimpleGreeter
default-extensions:
AllowAmbiguousTypes
DataKinds
DeriveGeneric
FlexibleContexts
FlexibleInstances
InstanceSigs
MultiParamTypeClasses
OverloadedLabels
ScopedTypeVariables
TypeApplications
TypeFamilies
UndecidableInstances
build-depends:
base ^>=4.16.3.0,
unordered-containers ^>=0.2.19.1,
hashable ^>=1.4.1.0,
mtl ^>=2.2.2,
optics-core ^>=0.4.1,
hs-source-dirs: src
default-language: Haskell2010
executable context-generic-programming-demo
main-is: Main.hs
build-depends:
base ^>=4.16.3.0,
unordered-containers ^>=0.2.19.1,
context-generic-programming-demo,
hs-source-dirs: app
default-language: Haskell2010