make LTS branch pre-releases
[cabal.git] / Cabal-syntax / src / Distribution / Text.hs
blob0589e35261e70f914160e69e3176109059245aed
1 -- Since @3.0@ this is a compat module.
2 module Distribution.Text (display, simpleParse) where
4 {- {-# DEPRECATED "Use Distribution.Parsec or Distribution.Pretty" #-} -}
6 import Distribution.Parsec
7 import Distribution.Pretty
9 display :: Pretty a => a -> String
10 display = prettyShow
12 simpleParse :: Parsec a => String -> Maybe a
13 simpleParse = simpleParsec