[Haskell-beginners] Signatures

Colin Paul Adams colin at colina.demon.co.uk
Wed Jun 23 12:20:16 EDT 2010


>>>>> "Daniel" == Daniel Fischer <daniel.is.fischer at web.de> writes:

    Daniel> On Wednesday 23 June 2010 18:08:18, Colin Paul Adams wrote:
    >> >>>>> "Ertugrul" == Ertugrul Soeylemez <es at ertes.de> writes:
    >> 
    Ertugrul> -- nightmare = unsafePerformIO (getWrongWife >>= sex)
    >> 
    >> I can't work out the signature for nightmare (in your signature).
    >> 
    >> :-)

    Daniel> My guess:

    Daniel> getWrongWife :: IO Partner sex :: Partner -> IO Offspring


So

nightmare :: Offspring ?
-- 
Colin Adams
Preston Lancashire
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


More information about the Beginners mailing list