You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would've thought that the left value for the following functions:
mkIRI :: Text -> Either String IRI
parseIRI :: Text -> Either String IRIRef
parseRelIRI :: Text -> Either String IRIRef
validateIRI :: Text -> Either String Text
resolveIRI :: Text -> Text -> Either String Text
Would be IRIError or SchemaError rather than String?
The text was updated successfully, but these errors were encountered:
class RdfParser p where
parseString :: (Rdf a) => p -> Text -> Either ParseFailure (RDF a)
parseFile :: (Rdf a) => p -> String -> IO (Either ParseFailure (RDF a))
parseURL :: (Rdf a) => p -> String -> IO (Either ParseFailure (RDF a))
I.e.
mkIRI :: Text -> Either ParseFailure IRI
parseIRI :: Text -> Either ParseFailure IRIRef
parseRelIRI :: Text -> Either ParseFailure IRIRef
validateIRI :: Text -> Either ParseFailure Text
resolveIRI :: Text -> Text -> Either ParseFailure Text
ping @wismill
Where are
IRIError
andSchemaError
used?I would've thought that the left value for the following functions:
Would be
IRIError
orSchemaError
rather thanString
?The text was updated successfully, but these errors were encountered: