Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 251282d9f834b305afd095e11a9ddd17ad0f51a5 https://github.com/perl6/specs/commit/251282d9f834b305afd095e11a9ddd17ad0f51a5 Author: Larry Wall <la...@wall.org> Date: 2013-10-07 (Mon, 07 Oct 2013)
Changed paths: M S04-control.pod Log Message: ----------- Loops in a statementlist are forced to be eager Loops used at the top-level of a block where multiple semicolon-separated statements are expected now are always forced to be eagerly evaluated, even if they return a value. Loops used where a single statement is parsed retain lazy semantics. For instance, inside brackets, or after a blorst of the st persuasion. Some of the list comprehensions we've written may need parens around them, or "lazy" in front of them, to retain their current lazy semantics.