Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Syntax-related combinators for HashQualified (to/from string types).
Synopsis
- parseText :: Text -> Maybe (HashQualified Name)
- parseTextWith :: Parsec (Token Text) [Char] name -> Text -> Maybe (HashQualified name)
- unsafeParseText :: Text -> HashQualified Name
- toText :: HashQualified Name -> Text
- unsafeFromVar :: Var v => v -> HashQualified Name
- toVar :: Var v => HashQualified Name -> v
- hashQualifiedP :: Monad m => ParsecT (Token Text) [Char] m name -> ParsecT (Token Text) [Char] m (HashQualified name)
String conversions
parseTextWith :: Parsec (Token Text) [Char] name -> Text -> Maybe (HashQualified name) Source #
unsafeParseText :: Text -> HashQualified Name Source #
unsafeFromVar :: Var v => v -> HashQualified Name Source #