jeffreykegler/Marpa--R2

In Marpa::R2::ASF, make order of sub parameters constent

Closed this issue · 4 comments

When calling traverse(), we have $scratch 1st:

my($result) = $asf -> traverse($scratch, &traverser);

But when the traverser is called, $scratch is 2nd:

my($glade, $scratch) = @_;

The issue is that, on the Marpa::R2::ASF man page, the arguments of full_traverser() are in the opposite order of those for traverse($scratch, &traverser).

@ronsavage I want to call this a "misfeature" and move it over to Marpa::R3, closing it here. Is that OK?

Closed in Marpa::R2, per above discussion.