TailDemo: add missing imports for some GHC versions

This commit is contained in:
Jonathan Daugherty 2020-11-09 19:55:43 -08:00
parent 500dcae65c
commit d106dc1e72

View File

@ -1,6 +1,12 @@
{-# LANGUAGE OverloadedStrings #-}
module Main where
#if !MIN_VERSION_base(4,8,0)
import Control.Applicative ((<$>))
#endif
#if !(MIN_VERSION_base(4,11,0))
import Data.Monoid ((<>))
#endif
import qualified Data.Text as T
import Control.Monad (void)
import Control.Concurrent