mirror of
https://github.com/ilyakooo0/vty.git
synced 2024-11-25 19:22:08 +03:00
Add missing conditional imports
This commit is contained in:
parent
124436e1de
commit
7845acd565
@ -1,3 +1,4 @@
|
||||
{-# LANGUAGE CPP #-}
|
||||
module Graphics.Vty.UnicodeWidthTable.IO
|
||||
( readUnicodeWidthTable
|
||||
, writeUnicodeWidthTable
|
||||
@ -9,6 +10,9 @@ import Data.Binary
|
||||
import Data.Binary.Get
|
||||
import Data.Binary.Put
|
||||
import qualified Data.ByteString.Lazy as BSL
|
||||
#if !(MIN_VERSION_base(4,11,0))
|
||||
import Data.Semigroup ((<>))
|
||||
#endif
|
||||
|
||||
import Graphics.Vty.UnicodeWidthTable.Types
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
{-# LANGUAGE CPP #-}
|
||||
{-# LANGUAGE ForeignFunctionInterface #-}
|
||||
module Graphics.Vty.UnicodeWidthTable.Install
|
||||
( installUnicodeWidthTable
|
||||
@ -8,6 +9,9 @@ where
|
||||
|
||||
import Control.Monad (when, forM_)
|
||||
import Data.Word (Word8, Word32)
|
||||
#if !(MIN_VERSION_base(4,11,0))
|
||||
import Data.Semigroup ((<>))
|
||||
#endif
|
||||
|
||||
import Graphics.Vty.UnicodeWidthTable.Types
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user