Commit eb6cf523 authored by Reed Mullanix's avatar Reed Mullanix Committed by David Feuer
Browse files

Update docs of intersections to make order of intersections clear

parent 3fecabad
......@@ -884,7 +884,7 @@ intersection t1@(Bin _ x l1 r1) t2
#if (MIN_VERSION_base(4,9,0))
-- | The intersection of a series of sets.
-- | The intersection of a series of sets. Intersections are performed left-to-right.
intersections :: Ord a => NonEmpty (Set a) -> Set a
intersections (s :| ss) = Foldable.foldl' intersection s ss
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment