module Text.MultipartNames(
MultipartName,
mkMultipartName,
mkMultipartNameFromWords,
isLegalSegment,
toSegments,
showLowerCamel,
showUpperCamel,
showLowerHyphenated,
showUpperHyphenated,
showLowerUnderscored,
showUpperUnderscored,
_LowerCamel,
_UpperCamel,
_Hyphenated,
_LowerHyphenated,
_UpperHyphenated,
_Underscored,
_LowerUnderscored,
_UpperUnderscored
) where
import Control.Lens
import Text.MultipartNames.MultipartName
import Text.MultipartNames.Parsers
import Text.MultipartNames.Show
_LowerCamel :: Prism' String MultipartName
_LowerCamel = prism' showLowerCamel parseLowerCamel
_UpperCamel :: Prism' String MultipartName
_UpperCamel = prism' showUpperCamel parseUpperCamel
_LowerHyphenated :: Prism' String MultipartName
_LowerHyphenated = prism' showLowerHyphenated parseLowerHyphenated
_UpperHyphenated :: Prism' String MultipartName
_UpperHyphenated = prism' showUpperHyphenated parseUpperHyphenated
_Hyphenated :: Prism' String MultipartName
_Hyphenated = prism' showLowerHyphenated parseHyphenated
_LowerUnderscored :: Prism' String MultipartName
_LowerUnderscored = prism' showLowerUnderscored parseLowerUnderscored
_UpperUnderscored :: Prism' String MultipartName
_UpperUnderscored = prism' showUpperUnderscored parseUpperUnderscored
_Underscored :: Prism' String MultipartName
_Underscored = prism' showUpperUnderscored parseUnderscored