Skip to content

Commit c60c312

Browse files
authored
Add -XTypeOperators (#1713)
1 parent 086d955 commit c60c312

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

servant-client-core/src/Servant/Client/Core/RunClient.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
{-# LANGUAGE OverloadedStrings #-}
55
{-# LANGUAGE ScopedTypeVariables #-}
66
{-# LANGUAGE TypeFamilies #-}
7+
{-# LANGUAGE TypeOperators #-}
78
-- | Types for possible backends to run client-side `Request` queries
89
module Servant.Client.Core.RunClient (
910
RunClient (..),

servant-client-core/src/Servant/Client/Generic.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
{-# LANGUAGE RankNTypes #-}
55
{-# LANGUAGE ScopedTypeVariables #-}
66
{-# LANGUAGE TypeFamilies #-}
7+
{-# LANGUAGE TypeOperators #-}
78

89
module Servant.Client.Generic (
910
AsClientT,

servant-conduit/src/Servant/Conduit.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
{-# LANGUAGE MultiParamTypeClasses #-}
55
{-# LANGUAGE RankNTypes #-}
66
{-# LANGUAGE ScopedTypeVariables #-}
7+
{-# LANGUAGE TypeOperators #-}
78
{-# LANGUAGE UndecidableInstances #-}
89
{-# OPTIONS_GHC -Wno-orphans #-}
910
-- | This module exports 'ToSourceIO' and 'FromSourceIO' for 'ConduitT' instances.

servant-pipes/src/Servant/Pipes.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
{-# LANGUAGE MultiParamTypeClasses #-}
55
{-# LANGUAGE RankNTypes #-}
66
{-# LANGUAGE ScopedTypeVariables #-}
7+
{-# LANGUAGE TypeOperators #-}
78
{-# LANGUAGE UndecidableInstances #-}
89
{-# OPTIONS_GHC -Wno-orphans #-}
910
-- | This module exports 'ToSourceIO' and 'FromSourceIO' for 'Proxy' and 'SafeT' instances.

servant/src/Servant/Types/SourceT.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
{-# LANGUAGE GADTs #-}
44
{-# LANGUAGE RankNTypes #-}
55
{-# LANGUAGE ScopedTypeVariables #-}
6+
{-# LANGUAGE TypeOperators #-}
67
module Servant.Types.SourceT where
78

89
import Control.Monad.Except

0 commit comments

Comments
 (0)