#1351: mistake in Data.Set description
----------------------------+-----------------------------------------------
  Reporter:  guest          |          Owner:         
      Type:  bug            |         Status:  new    
  Priority:  normal         |      Milestone:         
 Component:  Documentation  |        Version:  6.6.1  
  Severity:  trivial        |       Keywords:         
Difficulty:  Unknown        |             Os:  Windows
  Testcase:                 |   Architecture:  x86    
----------------------------+-----------------------------------------------
Data.set description in HTML documentation contains the following text

 difference :: Ord a => Set a -> Set a -> Set a
 O(n+m). Difference of two sets. The implementation uses an efficient hedge
 algorithm comparable with hedge-union.

 intersection :: Ord a => Set a -> Set a -> Set a
 O(n+m). The intersection of two sets. Elements of the result come from the
 first set.

 I think that phrase "Elements of the result come from the first set"
 relates to difference function, not to intersection

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1351>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to