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

Assign to existing lists? #32

Closed
rafaqz opened this issue Sep 1, 2017 · 3 comments
Closed

Assign to existing lists? #32

rafaqz opened this issue Sep 1, 2017 · 3 comments

Comments

@rafaqz
Copy link

rafaqz commented Sep 1, 2017

Great package, I've missed this a lot after python/haskell.

Just tried something crazy and found it didn't work:

l <- some_existing_list
c(l$a, l$b, l$c) %<-% some_func(x, y)

But it would be nice to be able to assign to absolutely anything on the left hand side without using intermediary variables, no idea how hard that is to implement!

@nteetor
Copy link
Member

nteetor commented Sep 5, 2017

Hello @rafaqz, assigning to nearly anything on the left-hand side sounds possible. I will create a branch and let you know when it is testable. Thank you for the feedback and the suggestion.

nteetor pushed a commit that referenced this issue Sep 5, 2017
@nteetor
Copy link
Member

nteetor commented Sep 5, 2017

Hello again, feel free to check out the assign-anything branch. If everything checks out then I can resubmit to CRAN in about a month.

@nteetor
Copy link
Member

nteetor commented Oct 31, 2017

See release v0.0.6

@nteetor nteetor closed this as completed Oct 31, 2017
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

2 participants