-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.yaml
105 lines (94 loc) · 1.92 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
name: code-examples
version: 1.0.0.0
github: "Sir4ur0n/blog"
license: BSD3
author: "Julien Debon"
maintainer: "[email protected]"
copyright: "WTFPL"
description: Code examples of my blog <https://sir4ur0n.github.io>
default-extensions:
- BangPatterns
- BinaryLiterals
- BlockArguments
- ConstraintKinds
- DataKinds
- DefaultSignatures
- DeriveDataTypeable
- DeriveFoldable
- DeriveFunctor
- DeriveGeneric
- DeriveTraversable
- DoAndIfThenElse
- DuplicateRecordFields
- EmptyDataDecls
- ExistentialQuantification
- FlexibleContexts
- FlexibleInstances
- FunctionalDependencies
- GADTs
- GeneralizedNewtypeDeriving
- InstanceSigs
- KindSignatures
- LambdaCase
- MultiParamTypeClasses
- MultiWayIf
- NamedFieldPuns
- OverloadedLists
- OverloadedStrings
- PartialTypeSignatures
- PatternGuards
- PolyKinds
- QuasiQuotes
- RankNTypes
- RecordWildCards
- ScopedTypeVariables
- StandaloneDeriving
- TemplateHaskell
- TupleSections
- TypeApplications
- TypeFamilies
- TypeOperators
- TypeSynonymInstances
- ViewPatterns
- StrictData
ghc-options:
- -Wall
- -Wcompat
# Some additional compiler warnings from https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
- -Wincomplete-uni-patterns
- -Wincomplete-record-updates
- -Wmissing-home-modules
- -Widentities
- -Wredundant-constraints
# Parallel by default
- -j
# Don't optimize by default (faster build time)
- -O0
# Polysemy for algebraic effects
- -fplugin=Polysemy.Plugin
- -flate-specialise
- -fspecialise-aggressively
dependencies:
# Basic dependencies
- base
- text
- mtl
# Effect handling
- polysemy
- polysemy-plugin
# Web application
- servant
- servant-server
- wai
- wai-extra
- warp
# JSON support
- aeson
# Database
- sqlite-simple
# Unit tests
- HUnit
# Property-based tests
- QuickCheck
library:
source-dirs: src