Skip to content

Commit

Permalink
Fix compilation with GHC-7.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspervdj committed Jan 24, 2019
1 parent b3e3257 commit 82dc886
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Patat/Images/Internal.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
--------------------------------------------------------------------------------
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE ExistentialQuantification #-}
module Patat.Images.Internal
( Config (..)
Expand All @@ -11,6 +12,8 @@ module Patat.Images.Internal
--------------------------------------------------------------------------------
import Control.Exception (Exception)
import qualified Data.Aeson as A
import Data.Data (Data)
import Data.Typeable (Typeable)


--------------------------------------------------------------------------------
Expand All @@ -23,7 +26,7 @@ data Backend = forall a. A.FromJSON a => Backend (Config a -> IO Handle)

--------------------------------------------------------------------------------
data BackendNotSupported = BackendNotSupported String
deriving (Show)
deriving (Data, Show, Typeable)


--------------------------------------------------------------------------------
Expand Down

0 comments on commit 82dc886

Please sign in to comment.