Chris Rebert <c...@rebertia.com> writes:
> get_popular_name would have the type: IO () -> IO String

I don't know if it makes the explanation any clearer, but I think that
isn't quite right.  The Python version would have type 
String -> IO String.  The parameterless Haskell version would just be an
I/O action, with type IO String.  IO () is not really involved.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to