Skip to content

Commit

Permalink
GHC < 7.10 compat (again...)
Browse files Browse the repository at this point in the history
  • Loading branch information
Twinside committed May 6, 2015
1 parent 13c6554 commit 1683001
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Codec/Picture/Bitmap.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE ScopedTypeVariables #-}
Expand All @@ -16,6 +17,10 @@ module Codec.Picture.Bitmap( -- * Functions
-- * Accepted format in output
, BmpEncodable( )
) where
#if !MIN_VERSION_base(4,8,0)
import Data.Monoid( mempty )
#endif

import Control.Monad( when, forM_ )
import Control.Monad.ST ( ST, runST )
import Data.Maybe( fromMaybe )
Expand Down

0 comments on commit 1683001

Please sign in to comment.