On 2006-06-09 10:28:05 +0200 Marc Brünink <[EMAIL PROTECTED]> wrote: >> Secondly, honest to God actual closures (called blocks for some reason). > Closures!? Neat! I want closures, too.... Now !! :-)
You can implement blocks (or closures) using macros. It's not trivial, but relatively simple. > More than once I was wondering why Objective-C does not have closures at all. > So now I know: Its all apple's fault :-) The TaskMaster ( http://www.virtualschool.edu/cox/pub/TaskMaster/index.html ) outlines a way of implementing blocks. > Could someone please hack gcc so we get closures? AFAIK, there already is a proposal for implementing blocks in GCC. No need to 'hack' it. -- Chris _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep