Safe Haskell | None |
---|---|
Language | Haskell2010 |
Functions for writing gml files. Follows the gml specification at http://www.fim.uni-passau.de/fileadmin/files/lehrstuhl/brandenburg/projekte/gml/gml-technical-report.pdf execpt for two cases:
- all produced
ByteString
s are encoded in UTF8 instead of ASCII, - the line length limit is ignored.
Synopsis
- writeGml :: Gml ByteString -> Maybe ByteString
- pangraphToGml :: Pangraph -> Gml ByteString
- write :: Pangraph -> ByteString
- encodeStrings :: Gml ByteString -> Gml ByteString
Documentation
writeGml :: Gml ByteString -> Maybe ByteString Source #
pangraphToGml :: Pangraph -> Gml ByteString Source #
write :: Pangraph -> ByteString Source #
Serializes a Pangraph into a GML file.
encodeStrings :: Gml ByteString -> Gml ByteString Source #
Encodes the string values in a Gml
syntax tree.