[Haskell-beginners] typo in tutorial?

Jason Sachs jmsachs at gmail.com
Mon Sep 2 19:05:12 CEST 2013


is there a typo in the tutorial? http://www.haskell.org/tutorial/io.html

sequence_        :: [IO ()] -> IO ()
sequence_ []     =  return ()
sequence_ (a:as) =  do a
                       sequence as

Shouldn't that last line be the following? (if so could someone please
report it? i don't know where to report typos/bugs in the tutorial)

sequence_ (a:as) =  do a
                       sequence_ as
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130902/bcc74f6a/attachment.htm>


More information about the Beginners mailing list