Changes between Version 3 and Version 4 of ObjectiveC/Classes


Ignore:
Timestamp:
Jan 11, 2009 1:58:11 PM (5 years ago)
Author:
chak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ObjectiveC/Classes

    v3 v4  
    2424 
    2525We may have to compute the class DAG and make sure we generate class initialisation code that at module load time allocates, registers, and subclasses all Objective-C classes in the right order. 
     26 
     27== BIG Questions == 
     28 
     29=== How do we represent ObjC classes in Haskell land? === 
     30 
     31It could just be a pointer.  The advantage of a pointer is that there is no issue of keeping ObjC land and Haskell land data in sync (BIG PLUS).  However, what does it mean to export a class in that case?  In fact, we would need to allocate, populate, and register the class in ObjC land and then '''import''' it into Haskell land.  This clashes with that the Haskell identifier mentioned in a `foreign export` is at a usage, not a defining occurrence. 
     32 
     33=== How do we populate ObjC classes with ivars, methods & properties in Haskell land? === 
     34