Skip to content

Commit eb6cf52

Browse files
TOTBWFtreeowl
authored andcommitted
Update docs of intersections to make order of intersections clear
1 parent 3fecaba commit eb6cf52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

containers/src/Data/Set/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ intersection t1@(Bin _ x l1 r1) t2
884884
#endif
885885

886886
#if (MIN_VERSION_base(4,9,0))
887-
-- | The intersection of a series of sets.
887+
-- | The intersection of a series of sets. Intersections are performed left-to-right.
888888
intersections :: Ord a => NonEmpty (Set a) -> Set a
889889
intersections (s :| ss) = Foldable.foldl' intersection s ss
890890

0 commit comments

Comments
 (0)