This is an enquiry email via http://x10-lang.org/ from: Amihay Vinter <amiwin...@gmail.com>
Hi, I have started working with the X10 language and had a question, hope you can help me... At the guide, http://x10.sourceforge.net/documentation/languagespec/x10-latest.pdf at page 206 (at the end) it is writen that:: ---------------------- "Example: Note that recursive definitions of local variables is not allowed. There are few useful recursive declarations of objects and structs; x, in the following example, has no meaningful definition. Recursive declarations of local functions is forbidden, even though (like f below) there are meaningful uses of it." ---------------------- My question is: 1. Why doesn't it make sense to have recursive local variables 2. Why does it make sense to have recursive local functions declarations? 3. What are the difficulties in implementing nested functions and procedures I hope you could help me understand better.. Best regards! Amihay Vinter ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users