Created
June 8, 2009 13:57
-
-
Save jjthrash/125827 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
-- given multi-line input where options are stated per line, spit out all possible options | |
import System.IO | |
main = do | |
input <- getContents | |
putStrLn $ show $ sequence $ map (words) $ lines input |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment