main = putStrLn $ show $ res 10 f x = Just x res x = traverse f [Just x]
Standard input is empty
Just [Just 10]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!