Skip to content

Commit 5f05b41

Browse files
authored
Export Tree field selectors from Data.Graph (#1144)
Re-exporting the constructor but not the selectors was likely an oversight.
1 parent d1a4776 commit 5f05b41

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

containers/src/Data/Graph.hs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ module Data.Graph (
9999
, flattenSCCs
100100

101101
-- * Trees
102-
, module Data.Tree
102+
, Tree(..)
103+
, Forest
103104

104105
) where
105106

@@ -117,7 +118,7 @@ import Data.Array.ST.Safe (STArray)
117118
import Data.IntSet (IntSet)
118119
import qualified Data.IntSet as Set
119120
#endif
120-
import Data.Tree (Tree(Node), Forest)
121+
import Data.Tree (Tree(..), Forest)
121122

122123
-- std interfaces
123124
import Data.Foldable as F

0 commit comments

Comments
 (0)