Say I wanted to implement a generator like this:
gen f () ():int = {
iter (proc (i:int) {
yield i;
}) (1,2,3,4);
// to fool felix
return 0;
}
Now, felix isn't happy because yield is trying to yield from the inner
function. Is there any way to lift the yield so that it can be used
inside of an inner function, yet still allow yielding out from the outer
function?
-e
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language