packages feed

ghc-vis 0.7.2.2 → 0.7.2.3

raw patch · 2 files changed

+4/−4 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ghc-vis.cabal view
@@ -1,5 +1,5 @@ name:               ghc-vis-version:            0.7.2.2+version:            0.7.2.3 license:            BSD3 license-file:       LICENSE category:           GHC, Debug, Development@@ -69,4 +69,4 @@  source-repository head     type:     git-    location: git://r0q.ath.cx/vis+    location: https://github.com/def-/ghc-vis.git
src/GHC/Vis/View/Graph/Parser.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE OverloadedStrings, RankNTypes, KindSignatures #-}  {- |    Module      : GHC.Vis.View.Graph.Parser@@ -52,7 +52,7 @@ graphvizCommand = Dot  -- | A generic algorithm to restrict a graph to the subgraph reachable by certain nodes-reachableSubgraph :: DynGraph gr => [Node] => gr a b => gr a b+reachableSubgraph :: forall (gr :: * -> * -> *) a b. DynGraph gr => [Node] -> gr a b -> gr a b reachableSubgraph roots graph = flip delNodes graph $     filter (`S.notMember` reachableNodes) $     nodes graph