incorrect function in section 7.4.5.1 of the docs
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".
Trac metadata
Trac field | Value |
---|---|
Version | 6.4.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Documentation |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | gaal@forum2.org |
Operating system | Unknown |
Architecture | Unknown |