Created
February 7, 2014 01:12
-
-
Save chiro/8855797 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contest_list <- mapM (\entity -> do | |
let contest = Sq.entityVal entity | |
start_time <- showTime $ contestStart contest | |
end_time <- showTime $ contestEnd contest | |
return $ (getContestId entity, contestName contest, | |
contestJudgeType contest, start_time, end_time, | |
contestSetter contest)) contests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment