competition-0.2.0.0: Helpers and runners for code competitions
Code.Competition
class Show a => Solveable p a whereSource
Methods
solve :: p -> aSource
class Parseable p whereSource
problem :: GenParser Char st pSource
runCompetition :: (Solveable p a, Parseable p, Show p) => IO [(p, a)]Source
runSolution :: (Solveable p a, Parseable p, Show p) => String -> IO (String, [(p, a)])Source
runWriteSolution :: (Solveable p a, Parseable p, Show p) => String -> String -> IO (String, [(p, a)])Source