Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Test.Hspec.Discover.Sort
Description
NOTE: This module is not meant for public consumption. For user documentation look at http://hspec.github.io/hspec-discover.html.
Documentation
sortNaturallyBy :: (a -> (String, Int)) -> [a] -> [a] #
data NaturalSortKey #
Instances
Eq NaturalSortKey # | |
Defined in Test.Hspec.Discover.Sort Methods (==) :: NaturalSortKey -> NaturalSortKey -> Bool # (/=) :: NaturalSortKey -> NaturalSortKey -> Bool # | |
Ord NaturalSortKey # | |
Defined in Test.Hspec.Discover.Sort Methods compare :: NaturalSortKey -> NaturalSortKey -> Ordering # (<) :: NaturalSortKey -> NaturalSortKey -> Bool # (<=) :: NaturalSortKey -> NaturalSortKey -> Bool # (>) :: NaturalSortKey -> NaturalSortKey -> Bool # (>=) :: NaturalSortKey -> NaturalSortKey -> Bool # max :: NaturalSortKey -> NaturalSortKey -> NaturalSortKey # min :: NaturalSortKey -> NaturalSortKey -> NaturalSortKey # |
naturalSortKey :: String -> NaturalSortKey #