Conditionally include Control.Applicative <$>
This commit is contained in:
parent
57fe12ce84
commit
130fd27e01
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
{-# LANGUAGE CPP #-}
|
||||||
{-# LANGUAGE DeriveDataTypeable #-}
|
{-# LANGUAGE DeriveDataTypeable #-}
|
||||||
{-# LANGUAGE DeriveGeneric #-}
|
{-# LANGUAGE DeriveGeneric #-}
|
||||||
{-# LANGUAGE FlexibleInstances #-}
|
{-# LANGUAGE FlexibleInstances #-}
|
||||||
|
@ -16,6 +17,9 @@
|
||||||
-- >>> type EgDefault = Get '[CSV] [(Int, String)]
|
-- >>> type EgDefault = Get '[CSV] [(Int, String)]
|
||||||
module Servant.CSV.Cassava where
|
module Servant.CSV.Cassava where
|
||||||
|
|
||||||
|
#if !MIN_VERSION_base(4,8,0)
|
||||||
|
import Control.Applicative ((<$>))
|
||||||
|
#endif
|
||||||
import Data.Csv
|
import Data.Csv
|
||||||
import Data.Proxy (Proxy (..))
|
import Data.Proxy (Proxy (..))
|
||||||
import Data.Typeable (Typeable)
|
import Data.Typeable (Typeable)
|
||||||
|
|
Loading…
Reference in a new issue