Sorry.  I cut out too much.  Here's what happens in Hugs98:

    Rewrite> 10.0 == unsafeCoerce ()
    True
    Rewrite> 10 == unsafeCoerce ()

    Unexpected signal

- Conal
        -----Original Message-----
        From:   Alastair Reid [SMTP:[EMAIL PROTECTED]]
        Sent:   Wednesday, September 08, 1999 1:14 PM
        To:     Conal Elliott
        Cc:     Sigbjorn Finne (Intl Vendor)
        Subject:        Re: unsafeCoerce strangeness 


        Conal, 

        I think this needs more context.  What happens when you do this?
        I'm imagining one of: it works but shouldn't, it crashes the system,
        you get a strange message about unresolved overloading.

        A


        > Here's an oddity.  Does anyone know what's going on?  - Conal
        > 
        > -----Original Message-----
        > From: Sigbjorn Finne (Intl Vendor) 
        > Sent: Wednesday, September 08, 1999 11:33 AM
        > To:   Conal Elliott
        > Subject:      RE: Typed vs untyped representation
        > 
        > 
        > No idea why that happens, someone really familiar with the Hugs
        > innards would know. A simpler example is "11.0 == unsafeCoerce ()"
        > 
        > --sigbjorn
        > 
        > 

Reply via email to