From ab792adf6dde255ea71e4e77c74a43514ae26032 Mon Sep 17 00:00:00 2001 From: Jonathan Daugherty Date: Sat, 17 Sep 2016 21:38:27 -0700 Subject: [PATCH] Brick.Main: add missing imports on older GHCs --- src/Brick/Main.hs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Brick/Main.hs b/src/Brick/Main.hs index 3d72247..a48e4df 100644 --- a/src/Brick/Main.hs +++ b/src/Brick/Main.hs @@ -41,6 +41,10 @@ import Control.Monad.Trans.Class (lift) import Control.Monad.Trans.State import Control.Monad.Trans.Reader import Control.Concurrent (forkIO, Chan, newChan, readChan, writeChan, killThread) +#if !MIN_VERSION_base(4,8,0) +import Control.Applicative ((<$>)) +import Data.Monoid (mempty) +#endif import Data.Default import Data.Maybe (listToMaybe) import qualified Data.Map as M