File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
servant/src/Servant/Utils Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ library
42
42
Servant.JS.JQuery
43
43
Servant.JS.Vanilla
44
44
build-depends : base >= 4.5 && < 5
45
+ , base-compat >= 0.9
45
46
, charset >= 0.3
46
47
, lens >= 4
47
48
, servant-foreign == 0.5. *
@@ -83,6 +84,7 @@ test-suite spec
83
84
Servant.JSSpec
84
85
Servant.JSSpec.CustomHeaders
85
86
build-depends : base
87
+ , base-compat
86
88
, hspec >= 2.1.8
87
89
, hspec-expectations
88
90
, language-ecmascript >= 0.16
Original file line number Diff line number Diff line change 1
- {-# LANGUAGE CPP #-}
2
1
{-# LANGUAGE DataKinds #-}
3
2
{-# LANGUAGE FlexibleInstances #-}
4
3
{-# LANGUAGE QuasiQuotes #-}
7
6
{-# LANGUAGE TypeOperators #-}
8
7
{-# LANGUAGE OverloadedStrings #-}
9
8
{-# OPTIONS_GHC -fno-warn-orphans #-}
9
+
10
10
module Servant.JSSpec where
11
11
12
12
import Data.Either (isRight )
13
- #if !MIN_VERSION_base(4,8,0)
14
- import Data.Monoid ((<>) ,mconcat )
15
- #else
16
- import Data.Monoid ((<>) )
17
- #endif
13
+ import Data.Monoid ()
14
+ import Data.Monoid.Compat ((<>) )
18
15
import Data.Proxy
19
16
import Data.Text (Text )
20
17
import qualified Data.Text as T
21
18
import Language.ECMAScript3.Parser (program , parse )
19
+ import Prelude ()
20
+ import Prelude.Compat
22
21
import Test.Hspec hiding (shouldContain , shouldNotContain )
23
22
24
23
import Servant.API.Internal.Test.ComprehensiveAPI
Original file line number Diff line number Diff line change 1
- {-# LANGUAGE CPP #-}
2
1
{-# LANGUAGE ConstraintKinds #-}
3
2
{-# LANGUAGE DataKinds #-}
4
3
{-# LANGUAGE FlexibleInstances #-}
You can’t perform that action at this time.
0 commit comments