
19 May
2016
19 May
'16
9:34 a.m.
this is nice, thanks! What if a and b are of different types? I simplified my example to much.. Am 19.05.16 um 15:22 schrieb Imants Cekusins:
if 'update' were changed to update :: [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