Skip to content

Commit 1cccdce

Browse files
vaibhavsagartreeowl
authored andcommitted
Update Internal.hs
Edit docs for `powerSet`.
1 parent 6b070fc commit 1cccdce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/Set/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1704,7 +1704,7 @@ splitRoot orig =
17041704
--
17051705
-- @
17061706
-- powerSet (fromList [1,2,3]) =
1707-
-- fromList [[], [1], [2], [3], [1,2], [1,3], [2,3], [1,2,3]]
1707+
-- fromList $ map fromList [[],[1],[1,2],[1,2,3],[1,3],[2],[2,3],[3]]
17081708
-- @
17091709
--
17101710
-- @since 0.5.11

0 commit comments

Comments
 (0)