Hi, I think the kind of structure you are after is something like: > writeList [] = return () > writeList (x:xs) = do writeHtml x > writeList xs Which is already defined for you, using sequence_ Thanks Neil