language-dot 0.0.4 → 0.0.5
raw patch · 2 files changed
+7/−4 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Language.Dot.Pretty: instance (PP a) => PP (Maybe a)
+ Language.Dot.Pretty: instance PP a => PP (Maybe a)
- Language.Dot.Pretty: pp :: (PP a) => a -> Doc
+ Language.Dot.Pretty: pp :: PP a => a -> Doc
Files
- language-dot.cabal +1/−1
- src/Language/Dot/Parser.hs +6/−3
language-dot.cabal view
@@ -1,5 +1,5 @@ name: language-dot-version: 0.0.4+version: 0.0.5 category: Language synopsis: A library for the analysis and creation of Graphviz DOT files description: A library for the analysis and creation of Graphviz DOT files.
src/Language/Dot/Parser.hs view
@@ -27,9 +27,12 @@ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -parseDot :: String -> String -> Either ParseError Graph-parseDot source =- parse (whiteSpace' >> parseGraph) source . preprocess+parseDot+ :: String -- ^ origin of the data, e.g., the name of a file+ -> String -- ^ DOT source code+ -> Either ParseError Graph+parseDot origin =+ parse (whiteSpace' >> parseGraph) origin . preprocess -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --