[Haskell-beginners] newEmptyMVar return type

Velichko Lefterov velichko.lefterov at gmail.com
Tue Jan 5 18:22:50 UTC 2021


Hello,
could someone explain me simple how return-type polymorphism works
in the following case:
newEmptyMVar :: IO (MVar a) ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20210105/534a8674/attachment.html>


More information about the Beginners mailing list