#868: incorrect function in section 7.4.5.1 of the docs
------------------------------+---------------------------------------------
    Reporter:  guest          |        Owner:             
        Type:  bug            |       Status:  new        
    Priority:  normal         |    Milestone:             
   Component:  Documentation  |      Version:  6.4.2      
    Severity:  normal         |     Keywords:             
          Os:  Unknown        |   Difficulty:  Easy (1 hr)
Architecture:  Unknown        |  
------------------------------+---------------------------------------------
The section on implicit paramaters has the example:

   least   :: (?cmp :: a -> a -> Bool) => [a] -> a
   least xs = fst (sort xs)

 "fst" should probably be replaced with "head".

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

Reply via email to