{-# OPTIONS -fno-warn-orphans #-}
module Debian.Relation.Text
(
AndRelation
, OrRelation
, Relations
, Relation(..)
, ArchitectureReq(..)
, VersionReq(..)
, checkVersionReq
, RelParser
, ParseRelations(..)
) where
import qualified Data.Text as T
import Debian.Relation.String
instance ParseRelations T.Text where
parseRelations :: Text -> Either ParseError Relations
parseRelations Text
text = forall a. ParseRelations a => a -> Either ParseError Relations
parseRelations (Text -> String
T.unpack Text
text)