Fix byteswap functions under GHC 7.6

This commit is contained in:
Stephen Diehl
2017-01-02 10:59:05 +00:00
parent e452604224
commit 070ac54067
+5 -1
View File
@@ -297,9 +297,11 @@ import Data.Word as X (
, Word32
, Word64
, Word8
#if MIN_VERSION_base(4,7,0)
, byteSwap16
, byteSwap32
, byteSwap64
#endif
)
import Data.Either as X (
@@ -307,9 +309,11 @@ import Data.Either as X (
, either
, lefts
, rights
, partitionEithers
#if MIN_VERSION_base(4,7,0)
, isLeft
, isRight
, partitionEithers
#endif
)
import Data.Complex as X (