Closed jddurand closed 9 years ago
This is as documented. The results of a rule evaluation closure are the 2nd and later items in a list. In Perl, you can't bless just part of a list. Marpa has to have something it can bless, so it creates an array for that purpose.
Yep - sorry & thanks.
Wondering if this is normal behaviour: with blessing a counted RHS is not propagated as an array to the actions, but is seen like a reference to a blessed array. The later blessing being the one of the LHS, as if blessing was done before the action is called.
Output: