| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Text.RDF.RDF4H.ParserUtils
- _parseURL :: (Text -> Either ParseFailure (RDF rdfImpl)) -> String -> IO (Either ParseFailure (RDF rdfImpl))
- justTriples :: [Maybe Triple] -> [Triple]
- data Parser
- = Parsec
- | Attoparsec
Documentation
_parseURL :: (Text -> Either ParseFailure (RDF rdfImpl)) -> String -> IO (Either ParseFailure (RDF rdfImpl)) Source #
Parse contents at URL into an RDF.
justTriples :: [Maybe Triple] -> [Triple] Source #
Keep the (Just t) triples (eliminating the Nothing comments), and unbox the triples, leaving a list of triples.
Constructors
| Parsec | |
| Attoparsec |