Skip to content

Commit 7cac2fb

Browse files
committed
Format language pragmas
1 parent 1e1e963 commit 7cac2fb

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

src/Network/JsonRpc/Server.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
{-# LANGUAGE CPP,
2-
Rank2Types,
3-
OverloadedStrings #-}
1+
{-# LANGUAGE CPP #-}
2+
{-# LANGUAGE Rank2Types #-}
3+
{-# LANGUAGE OverloadedStrings #-}
44

55
-- | Functions for implementing the server side of JSON-RPC 2.0.
66
-- See <http://www.jsonrpc.org/specification>.

src/Network/JsonRpc/Types.hs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
{-# LANGUAGE CPP,
2-
MultiParamTypeClasses,
3-
FunctionalDependencies,
4-
FlexibleInstances,
5-
UndecidableInstances,
6-
TypeOperators,
7-
TypeSynonymInstances,
8-
OverloadedStrings #-}
1+
{-# LANGUAGE CPP #-}
2+
{-# LANGUAGE MultiParamTypeClasses #-} -- required by GHC 7.0.1
3+
{-# LANGUAGE FunctionalDependencies #-}
4+
{-# LANGUAGE FlexibleInstances #-}
5+
{-# LANGUAGE UndecidableInstances #-}
6+
{-# LANGUAGE TypeOperators #-}
7+
{-# LANGUAGE TypeSynonymInstances #-} -- required by GHC 7.0.1
8+
{-# LANGUAGE OverloadedStrings #-}
99

1010
module Network.JsonRpc.Types ( RpcResult
1111
, Method (..)

tests/Internal.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{-# LANGUAGE CPP,
2-
OverloadedStrings #-}
1+
{-# LANGUAGE CPP #-}
2+
{-# LANGUAGE OverloadedStrings #-}
33

44
module Internal ( request
55
, errRsp

tests/TestParallelism.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{-# LANGUAGE CPP,
2-
OverloadedStrings #-}
1+
{-# LANGUAGE CPP #-}
2+
{-# LANGUAGE OverloadedStrings #-}
33

44
module TestParallelism (testParallelizingTasks) where
55

tests/TestSuite.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{-# LANGUAGE CPP,
2-
OverloadedStrings #-}
1+
{-# LANGUAGE CPP #-}
2+
{-# LANGUAGE OverloadedStrings #-}
33

44
module Main (main) where
55

0 commit comments

Comments
 (0)