Ok so this should now work: var xs = list(1,2,3,4); for var i in xs do println$ i; done
This will work for any type T which provides: gen iterator: 1 -> opt[T]; At present list has this, and no other data structures. The loop above supports break, continue, return, goto etc, like other loops: the body is straight line code, not enclosed. -- john skaller skal...@users.sourceforge.net ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language