Sort using a custom comparator: Difference between revisions
m
→{{header|Haskell}}: Specified one import more narrowly
m (→{{header|Haskell}}: Specified one import more narrowly) |
|||
Line 1,214:
import Data.Char (toLower)
import Data.Ord (comparing)
import Data.Monoid ((<>))
-- the Ordering instance of mappend is defined to yield
|