Fix Data.List.sortOn documentation
The sortOn documentation says:
@sortOn f@ is equivalent to @sortBy . comparing f@
but this is not correct (it does not type-check). It should say:
@sortOn f@ is equivalent to @sortBy (comparing f)@
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.10.2-rc2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | libraries/base |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | ekmett, hvr |
| Operating system | |
| Architecture |