this is nice, thanks! What if a and b are of different types? I
simplified my example to much..
if 'update' were changed toupdate :: [String] -> IO ()
then you could do:
​doIt :: IO ()doIt = sequence [inputA,inputB] >>= update
is this better?
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners