data-named 0.5.1 → 0.5.2
raw patch · 2 files changed
+5/−3 lines, 2 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- Data/Named/Graph.hs +4/−2
- data-named.cabal +1/−1
Data/Named/Graph.hs view
@@ -75,8 +75,10 @@ let m = spanSet s S.\\ S.unions (map (spanSet . span) us) in Node (k, s) (fillForest us ++ map mkLeaf (S.toList m)) --- | Transform graph into a disjoint forest, i.e. with no mutually--- overlapping trees.+-- | Transform a graph into a disjoint forest, i.e. a forest with+-- no mutually overlapping trees.+-- The process is lossy, discontinuity and overlapping cannot+-- be represented with the `NeForest` data type. toForest :: (Ord n, Ix w) => Graph n w -> NeForest n w toForest g = addWords (bounds g) . prune . map (generate g . Left) . roots $ g
data-named.cabal view
@@ -1,5 +1,5 @@ name: data-named-version: 0.5.1+version: 0.5.2 synopsis: Data types for named entities description: The library provides data types which can be used to represent