• Ben Gamari's avatar
    Weak: Don't require wrapping/unwrapping of finalizers · fb409264
    Ben Gamari authored
    To quote Simon Marlow,
    
        We don't expect users to ever write code that uses mkWeak# or
        finalizeWeak#, we have safe interfaces to these. Let's document the type
        unsafety and fix the problem with () without introducing any overhead.
    
    Updates stm submodule.
    fb409264
ForeignPtr.hs 18.8 KB