mirror of
https://github.com/typeable/inflections-hs.git
synced 2024-08-15 17:10:21 +03:00
Fix missing imports
This commit is contained in:
parent
8464c3e3e7
commit
1d68232db4
@ -17,13 +17,15 @@ module Text.Inflections.Parse.CamelCase
|
||||
( parseCamelCase )
|
||||
where
|
||||
|
||||
#if !MIN_VERSION_megaparsec(6,4,0)
|
||||
import Control.Applicative
|
||||
# if MIN_VERSION_base(4,8,0)
|
||||
import Control.Applicative (empty, many, (<|>))
|
||||
#else
|
||||
import Control.Applicative (empty, many, (<|>), (<$>), (<*), (<*>))
|
||||
#endif
|
||||
import Data.Text (Text)
|
||||
import Data.Void (Void)
|
||||
import Text.Inflections.Types
|
||||
import Text.Megaparsec
|
||||
import Text.Megaparsec (Parsec, ParseError, choice, eof, parse)
|
||||
import Text.Megaparsec.Char
|
||||
import qualified Data.Text as T
|
||||
|
||||
|
@ -16,13 +16,15 @@ module Text.Inflections.Parse.SnakeCase
|
||||
( parseSnakeCase )
|
||||
where
|
||||
|
||||
#if !MIN_VERSION_megaparsec(6,4,0)
|
||||
import Control.Applicative
|
||||
# if MIN_VERSION_base(4,8,0)
|
||||
import Control.Applicative (empty, some)
|
||||
#else
|
||||
import Control.Applicative (empty, some, (<$>), (<*), (<*>))
|
||||
#endif
|
||||
import Data.Text (Text)
|
||||
import Data.Void (Void)
|
||||
import Text.Inflections.Types
|
||||
import Text.Megaparsec
|
||||
import Text.Megaparsec (Parsec, ParseError, eof, sepBy, parse)
|
||||
import Text.Megaparsec.Char
|
||||
import qualified Data.Text as T
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user