Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push versus append decision needed for feed taps #4823

Open
p6rt opened this issue Dec 5, 2015 · 1 comment
Open

Push versus append decision needed for feed taps #4823

p6rt opened this issue Dec 5, 2015 · 1 comment

Comments

@p6rt
Copy link

p6rt commented Dec 5, 2015

Migrated from rt.perl.org#126819 (status was 'new')

Searchable as RT126819$

@p6rt
Copy link
Author

p6rt commented Dec 5, 2015

From @skids

Feeds recently got changed so the arrow operators follow GLR one-arg semantics.
The discussion on this was here​:

http://irclog.perlgeek.de/perl6/2015-11-06#i_11492848

What this also changed is the function called on a feed tap object, so...

my @​a <== $t <== 1,3,4;

Now calls $t.append.

The former will require some fixes to examples in the design docs surrounding
'<<==' and '==>>', and it should probably be decided whether the feed operator
should be internally calling .append, or implementing its own single-arg-rule
processing and still be calling .push.

Or if something entirely different is liable to happen, the design docs on
feeds should probably be re-marked as conjectural-till-post-6c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant