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

Add the gather/take construct #30

Closed
trizen opened this issue Aug 10, 2015 · 2 comments
Closed

Add the gather/take construct #30

trizen opened this issue Aug 10, 2015 · 2 comments
Labels

Comments

@trizen
Copy link
Owner

trizen commented Aug 10, 2015

Add the gather/take construct from Perl6.

var arr = gather { take "item" };

The construct should support nesting and recursion correctly.

@trizen
Copy link
Owner Author

trizen commented Aug 13, 2015

Added here: b4e5de6

For now, it lacks the support for recursion.

@trizen
Copy link
Owner Author

trizen commented Oct 21, 2015

The gather/take construct supports recursion, since Sidef > 0.11

See: https://github.com/trizen/sidef/blob/master/scripts/Tests/gather_take.sf

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

No branches or pull requests

1 participant