Skip to content

Add documentation for GHC.Exts.sortWith

iori requested to merge 1-wip/matsumonkie/add-doc-for-sortWith into master

sortWith has the same type definition as Data.List.sortOn (eg: Ord b => (a -> b) -> [a] -> [a]). Nonetheless, they behave differently, sortOn being more efficient. This merge request add documentation to reflect on this differences

Closes #1

Merge request reports