mirror of
https://github.com/typeable/inflections-hs.git
synced 2024-09-11 06:05:33 +03:00
Remove type that we didn't need to export
This commit is contained in:
parent
93d6759a24
commit
e379e7ea41
@ -1,6 +1,6 @@
|
||||
{-# LANGUAGE FlexibleContexts, NoMonomorphismRestriction #-}
|
||||
|
||||
module Text.Inflections.Parse.CamelCase ( Word(..), parser )
|
||||
module Text.Inflections.Parse.CamelCase ( parser )
|
||||
where
|
||||
|
||||
import qualified Text.ParserCombinators.Parsec.Char as C
|
||||
|
@ -1,10 +1,14 @@
|
||||
module Text.Inflections.Underscore (underscore, underscoreCustom) where
|
||||
|
||||
import Text.Inflections.Parse.CamelCase (Word(..), parser)
|
||||
import Text.Inflections.Parse.CamelCase (parser)
|
||||
import Text.Inflections.Parse.Types (Word(..))
|
||||
|
||||
import Text.Parsec (ParseError, parse)
|
||||
import Data.Char (toLower)
|
||||
import Data.List (intercalate)
|
||||
|
||||
|
||||
|
||||
underscore :: String -> Either ParseError String
|
||||
underscore s = underscoreCustom [] s
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user