-
Notifications
You must be signed in to change notification settings - Fork 1
/
tn-fp-course.cabal
106 lines (95 loc) · 3.15 KB
/
tn-fp-course.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
cabal-version: 2.4
name: tn-fp-course
version: 2023
synopsis: Lab exercises for Telecom Nancy Functional Programming course
bug-reports: https://github.com/smelc/tn-fp-haskell-course
license: Unlicense
author: Clément Hurlin
maintainer: [email protected]
common common-all
default-language: Haskell2010
build-depends: base ^>=4.17.0.0
, aeson
, bytestring
, containers
, extra
, filepath
, generic-random
, http-conduit
, ilist
, megaparsec
, mtl
, random
, random-shuffle
, req
, process
, QuickCheck
, scotty
, split
, text
, utf8-string
, vector
ghc-options: -Wall
-Wunticked-promoted-constructors
-Wno-name-shadowing
-Wno-unused-imports
-Werror
-Wwarn=missing-home-modules
default-extensions: ConstraintKinds
DataKinds
DeriveGeneric
DeriveFunctor
DuplicateRecordFields
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
InstanceSigs
MultiParamTypeClasses
NamedFieldPuns
LambdaCase
OverloadedRecordDot
OverloadedStrings
RecordWildCards
ScopedTypeVariables
TypeApplications
TypeFamilies
library slides
import: common-all
hs-source-dirs: slides
-- Modules included in this executable, other than Main.
other-modules: Course01
Course02
Course03
Course04
Course05
library
import: common-all
hs-source-dirs: tps
exposed-modules: Scratch
executable TP1.hs
import: common-all
main-is: TP1.hs
hs-source-dirs: tps
executable TP2.hs
import: common-all
main-is: TP2.hs
hs-source-dirs: tps
executable TP3.hs
import: common-all
main-is: TP3.hs
hs-source-dirs: tps
executable TP4.hs
import: common-all
main-is: TP4.hs
hs-source-dirs: tps
executable TP5.hs
import: common-all
main-is: TP5.hs
hs-source-dirs: tps
-- Remove the comments below to enable the TP6!
-- executable TP6.hs
-- import: common-all
-- build-depends: gloss
-- main-is: TP6.hs
-- hs-source-dirs: tps