From: Wolfgang T. <wth...@us...> - 2007-03-10 19:42:32
|
Update of /cvsroot/hoc/hoc/docs In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv16442/docs Modified Files: Creating_an_Objective-C_Class_in_Haskell.pod Log Message: Update documentation: These days, we have to write InstanceMethod 'foo instead of InstanceMethod foo_info Index: Creating_an_Objective-C_Class_in_Haskell.pod =================================================================== RCS file: /cvsroot/hoc/hoc/docs/Creating_an_Objective-C_Class_in_Haskell.pod,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Creating_an_Objective-C_Class_in_Haskell.pod 19 May 2004 15:59:28 -0000 1.5 +++ Creating_an_Objective-C_Class_in_Haskell.pod 10 Mar 2007 19:42:29 -0000 1.6 @@ -126,8 +126,8 @@ instance methods, class methods, instance variables, and outlets. The C<ClassMember> data structure is defined as: - data ClassMember = InstanceMethod SelectorInfo - | ClassMethod SelectorInfo + data ClassMember = InstanceMethod Name + | ClassMethod Name | Outlet String TypeQ | InstanceVariable String TypeQ ExpQ @@ -142,10 +142,10 @@ [ Outlet "textView" [t| NSTextView () |] , InstanceVariable "text" [t| Maybe (NSString ()) |] [| Nothing |] - , InstanceMethod info_windowNibName - , InstanceMethod info_writeToFileOfType - , InstanceMethod info_readFromFileOfType - , InstanceMethod info_windowControllerDidLoadNib + , InstanceMethod 'windowNibName + , InstanceMethod 'writeToFileOfType + , InstanceMethod 'readFromFileOfType + , InstanceMethod 'windowControllerDidLoadNib ] =back @@ -168,10 +168,10 @@ $(exportClass "HaskellDocument" "hd_" [ Outlet "textView" [t| NSTextView () |], InstanceVariable "text" [t| Maybe (NSString ()) |] [| Nothing |], - InstanceMethod info_windowNibName, - InstanceMethod info_writeToFileOfType, - InstanceMethod info_readFromFileOfType, - InstanceMethod info_windowControllerDidLoadNib + InstanceMethod 'windowNibName, + InstanceMethod 'writeToFileOfType, + InstanceMethod 'readFromFileOfType, + InstanceMethod 'windowControllerDidLoadNib ]) |