Skip to content

Commit 285fdbb

Browse files
committed
Add other-extensions.
1 parent b5eb0b7 commit 285fdbb

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

demo/Client.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{-# LANGUAGE TypeOperators #-}
2-
31
module Main (main) where
42

53
import Signatures (concatenateSig, incrementSig)

demo/Server.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{-# LANGUAGE OverloadedStrings #-}
2-
{-# LANGUAGE TypeOperators #-}
32

43
module Main (main) where
54

json-rpc-client.cabal

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ library
4949
hs-source-dirs: src
5050
default-language: Haskell2010
5151
ghc-options: -Wall
52+
other-extensions: CPP,
53+
FlexibleContexts,
54+
FlexibleInstances,
55+
FunctionalDependencies,
56+
MultiParamTypeClasses,
57+
OverloadedStrings,
58+
TypeOperators,
59+
UndecidableInstances
5260

5361
executable demo-server
5462
hs-source-dirs: demo
@@ -63,6 +71,8 @@ executable demo-server
6371
mtl,
6472
text
6573
default-language: Haskell2010
74+
other-extensions: OverloadedStrings,
75+
TypeOperators
6676
else
6777
buildable: False
6878

@@ -80,6 +90,8 @@ executable demo-client
8090
mtl,
8191
text
8292
default-language: Haskell2010
93+
other-extensions: OverloadedStrings,
94+
TypeOperators
8395
else
8496
buildable: False
8597

@@ -105,3 +117,11 @@ test-suite tests
105117
test-framework-quickcheck2 >=0.3 && <0.4
106118
default-language: Haskell2010
107119
ghc-options: -Wall -fno-warn-missing-signatures -fno-warn-orphans
120+
other-extensions: CPP,
121+
FlexibleContexts,
122+
FlexibleInstances,
123+
MultiParamTypeClasses,
124+
OverloadedStrings,
125+
TypeOperators,
126+
TypeSynonymInstances,
127+
UndecidableInstances

0 commit comments

Comments
 (0)