Syntax: iter?

The Rubinius specs refer to an iter statement. I have vague memories
of one existing but couldn't find any doc of it in the Pickaxe, and I
don't have my other books around. Am I dreaming?

iter

NameError: undefined local variable or method `iter' for main:Object
        from (irb):1

···

--
Giles Bowkett

Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com/

You are dreaming.

···

On Oct 9, 2007, at 13:01 , Giles Bowkett wrote:

The Rubinius specs refer to an iter statement. I have vague memories
of one existing but couldn't find any doc of it in the Pickaxe, and I
don't have my other books around. Am I dreaming?

iter

NameError: undefined local variable or method `iter' for main:Object
        from (irb):1

--
Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars

Prolly not an iter statement... Prolly iter expressions/ASTs:

% echo ".each {}" | parse_tree_show -
s(:iter, s(:call, s(:zarray), :each), nil)

···

On Oct 9, 2007, at 13:01 , Giles Bowkett wrote:

The Rubinius specs refer to an iter statement. I have vague memories
of one existing but couldn't find any doc of it in the Pickaxe, and I
don't have my other books around. Am I dreaming?

> The Rubinius specs refer to an iter statement. I have vague memories
> of one existing but couldn't find any doc of it in the Pickaxe, and I
> don't have my other books around. Am I dreaming?
>
>>> iter
> NameError: undefined local variable or method `iter' for main:Object
> from (irb):1

You are dreaming.

It happens.

···

--
Giles Bowkett

Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com/

> The Rubinius specs refer to an iter statement. I have vague memories
> of one existing but couldn't find any doc of it in the Pickaxe, and I
> don't have my other books around. Am I dreaming?

Prolly not an iter statement... Prolly iter expressions/ASTs:

% echo ".each {}" | parse_tree_show -
s(:iter, s(:call, s(:zarray), :each), nil)

yeah, I think that's it.

···

--
Giles Bowkett

Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com/