Created
December 27, 2015 01:25
-
-
Save eiel/e8ffc2ac5b2ddd3b9e69 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
import System.Random | |
data GreatItEngineer = GIE_7richi | GIE_akira345 | GIE_jou4 | GIE_14suke | GIE_mrtc0 deriving (Enum, Show) | |
main = newStdGen >>= print . engineer . toEnum . flip mod 5 . fst . random | |
where | |
engineer :: GreatItEngineer -> GreatItEngineer | |
engineer = id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment