Changes between Version 7 and Version 8 of BlockObjects


Ignore:
Timestamp:
Aug 12, 2011 1:41:11 PM (4 years ago)
Author:
chak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BlockObjects

    v7 v8  
    4141== Example: returning a C block == 
    4242 
     43Conversely, a C block object can be used as a function in Haskell.  Assume the declaration 
     44{{{ 
     45foreign import ccall get_callback :: IO (Handle -> IO ()) 
     46}}} 
     47 
     48{{{ 
     49use it 
     50}}} 
     51 
     52== The gory details == 
     53 
     54The following subpages provide details on implementing this functionality. 
     55 * [wiki:BlockObjects/Specification] (pure versus impure; corner cases `void (^foo) (void)` in the pure cases) 
     56 * [wiki:BlockObjects/FakingIt] 
     57 * [wiki:BlockObjects/ExtendingGHC] 
     58 
    4359== Background == 
    4460