Safe Haskell | None |
---|---|
Language | Haskell98 |
Functions for serializing SGF trees.
- renderCollection :: Collection -> Render ()
- renderGameTree :: Node -> Render ()
- renderProperty :: Property -> Render ()
Documentation
renderCollection :: Collection -> Render () Source #
Renders an SGF Collection
to a string.
renderGameTree :: Node -> Render () Source #
Recursively renders an SGF GameTree (as defined in the spec) rooted at the given node.
renderProperty :: Property -> Render () Source #