-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Library for classification of media files. -- -- Library for classification of media files. @package classify @version 2008.11.13 module Data.Classify.DataTypes data Element Series :: Name -> Version -> Title -> LastName -> Int -> Element name :: Element -> Name version :: Element -> Version title :: Element -> Title lastname :: Element -> LastName score :: Element -> Int type Name = String type LastName = Name type Title = String data Version Version :: Int -> Int -> Version season :: Version -> Int episode :: Version -> Int DateVersion :: Int -> Int -> Int -> Version year :: Version -> Int month :: Version -> Int day :: Version -> Int data MarkupStyle Literate :: Char -> MarkupStyle Symbol :: Char -> MarkupStyle Numeric :: Char -> Int -> MarkupStyle data MarkupLayout Replace :: Char -> String -> MarkupLayout Function :: Char -> (Int -> String) -> MarkupLayout instance Typeable Element instance Eq MarkupStyle instance Ord Version instance Eq Version instance Read Version instance Show Version instance Eq Element instance Read Element instance Show Element module Data.Classify.Parser digit :: ReadP Char oneOf :: String -> ReadP Char anyChar :: ReadP Char putback :: ReadP a -> ReadP a module Data.Classify.Rank selectBest :: [Element] -> Element sortByRank :: [Element] -> [Element] sortByRank' :: [Element] -> [(Element, Int)] module Data.Classify.Printer ppElement :: String -> Element -> String applyMarkup :: [MarkupStyle] -> [MarkupLayout] -> String