graphviz-2999.0.0.0: GraphViz wrapper for Haskell.

MaintainerIvan.Miljenovic@gmail.com

Data.GraphViz.ParserCombinators

Description

This module defines simple helper functions for use with Text.ParserCombinators.Poly.Lazy.

Note that the Parseable instances for Bool, etc. match those specified for use with GraphViz (e.g. non-zero integers are equivalent to True).

You should not be using this module; rather, it is here for informative/documentative reasons. If you want to parse a Data.GraphViz.Types.DotGraph, you should use Data.GraphViz.Types.parseDotGraph rather than its Parseable instance.

Synopsis

Documentation

type Parse a = Parser Char aSource

A ReadS-like type alias.

commaSep' :: Parse a -> Parse b -> Parse (a, b)Source