-- 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 2012.10.23 -- | This module defines a parser for television media files commonly found -- in filesharing communities. The internals of the parser are -- non-deterministic and heuristics are used to select the interpretation -- most likely to be correct. module Data.Classify.Television type Name = 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 type Title = String tryClassify :: [Name] -> String -> Maybe (Name, Version, Title) classify :: [Name] -> String -> (Name, Version, Title)