On Thu, 2006-08-24 at 16:03 -0700, Erick Tryzelaar wrote:
> And here's a working implementation, no need for macros:
[]
                                                                          
> parallel ({
>   x = 1; print x; endl;
> }, {                                                                      
>   y = 2; print y; endl;
> }, {
>   z = 3; print z; endl;                                                   
> });

Ugly! You can use:

parallel$ { 
        .. 
}, {
        ...
};

to get rid of the ().

Definitely better than my list based implementation, and more
efficient .. i've been writing Ocaml too long .. never thought
of using an array :)

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to