-- Since @3.0@ this is a compat module.
module Distribution.Text (display, simpleParse) where
{- {-# DEPRECATED "Use Distribution.Parsec or Distribution.Pretty" #-} -}

import Distribution.Pretty
import Distribution.Parsec

display :: Pretty a => a -> String
display :: a -> String
display = a -> String
forall a. Pretty a => a -> String
prettyShow

simpleParse :: Parsec a => String -> Maybe a
simpleParse :: String -> Maybe a
simpleParse = String -> Maybe a
forall a. Parsec a => String -> Maybe a
simpleParsec