Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Test.Hspec.Discover.Sort
Documentation
sortNaturally :: [String] -> [String] Source #
data NaturalSortKey Source #
Instances
Eq NaturalSortKey Source # | |
Defined in Test.Hspec.Discover.Sort Methods (==) :: NaturalSortKey -> NaturalSortKey -> Bool (/=) :: NaturalSortKey -> NaturalSortKey -> Bool | |
Ord NaturalSortKey Source # | |
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 Source #