Lines Matching refs:sortByKey
359 pFoldrWithKey = (sortByKey . M.foldrWithKey f []) `eq`
360 (sortByKey . HM.foldrWithKey f [])
364 pFoldMapWithKey = (sortByKey . M.foldMapWithKey f) `eq`
365 (sortByKey . HM.foldMapWithKey f)
369 pFoldrWithKey' = (sortByKey . M.foldrWithKey' f []) `eq`
370 (sortByKey . HM.foldrWithKey' f [])
374 pFoldlWithKey = (sortByKey . M.foldlWithKey f []) `eq`
375 (sortByKey . HM.foldlWithKey f [])
379 pFoldlWithKey' = (sortByKey . M.foldlWithKey' f []) `eq`
380 (sortByKey . HM.foldlWithKey' f [])
587 sortByKey :: Ord k => [(k, v)] -> [(k, v)]
588 sortByKey = L.sortBy (compare `on` fst) function