[GHC] #2447: Typo in Data.Set.split documentation

GHC trac at galois.com
Thu Jul 17 01:05:16 EDT 2008


#2447: Typo in Data.Set.split documentation
----------------------------+-----------------------------------------------
    Reporter:  jeffwheeler  |       Owner:               
        Type:  bug          |      Status:  new          
    Priority:  normal       |   Component:  Documentation
     Version:  6.8.3        |    Severity:  normal       
    Keywords:               |    Testcase:               
Architecture:  Unknown      |          Os:  Unknown      
----------------------------+-----------------------------------------------
 The documentation for Data.Set.split contains an awkward double-negative:
 ". . . is not found in neither set1 or set2." It should be ". . . is found
 in neither set1 nor set2."

 {{{
 -- | /O(log n)/. The expression (@'split' x set@) is a pair @(set1,set2)@
 -- where all elements in @set1@ are lower than @x@ and all elements in
 -- @set2@ larger than @x at . @x@ is not found in neither @set1@ nor @set2 at .
 }}}

 Found here:
 http://haskell.org/ghc/docs/latest/html/libraries/containers/src/Data-
 Set.html#split

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2447>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list