Portability | OverloadedStrings |
---|---|
Stability | experimental |
Maintainer | Douglas Burke |
Safe Haskell | Safe-Infered |
This Module implements a Turtle formatter for an RDFGraph value. See http://www.w3.org/TR/turtle/ "Turtle, Terse RDF Triple Language", W3C Working Draft 09 August 2011 (http://www.w3.org/TR/2011/WD-turtle-20110809/)
- type NodeGenLookupMap = LookupMap (RDFLabel, Int)
- formatGraphAsText :: RDFGraph -> Text
- formatGraphAsLazyText :: RDFGraph -> Text
- formatGraphAsBuilder :: RDFGraph -> Builder
- formatGraphIndent :: Builder -> Bool -> RDFGraph -> Builder
- formatGraphDiag :: Builder -> Bool -> RDFGraph -> (Builder, NodeGenLookupMap, Int, [String])
- quoteText :: Text -> Builder