Brick.Main: add missing imports on older GHCs

This commit is contained in:
Jonathan Daugherty 2016-09-17 21:38:27 -07:00
parent 0651d3fc3a
commit ab792adf6d

View File

@ -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