Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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] Source #
data NaturalSortKey Source #
Instances
Eq NaturalSortKey Source # | |
Defined in Test.Hspec.Discover.Sort (==) :: NaturalSortKey -> NaturalSortKey -> Bool # (/=) :: NaturalSortKey -> NaturalSortKey -> Bool # | |
Ord NaturalSortKey Source # | |
Defined in Test.Hspec.Discover.Sort compare :: NaturalSortKey -> NaturalSortKey -> Ordering # (<) :: NaturalSortKey -> NaturalSortKey -> Bool # (<=) :: NaturalSortKey -> NaturalSortKey -> Bool # (>) :: NaturalSortKey -> NaturalSortKey -> Bool # (>=) :: NaturalSortKey -> NaturalSortKey -> Bool # max :: NaturalSortKey -> NaturalSortKey -> NaturalSortKey # min :: NaturalSortKey -> NaturalSortKey -> NaturalSortKey # |