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 values() for lists, environments and list environments #33

Closed
HenrikBengtsson opened this issue Dec 22, 2015 · 1 comment
Closed

Comments

@HenrikBengtsson
Copy link
Owner

Add values() for lists, environments and list environments such that values(x) returns an object of same class and dimensions as x but where any element that contains a future has been replaced with the value of the future.

HenrikBengtsson added a commit that referenced this issue Dec 22, 2015
HenrikBengtsson added a commit that referenced this issue Dec 22, 2015
HenrikBengtsson added a commit that referenced this issue Dec 22, 2015
SPEED: Now values() calls resolve() before retrieving value():s [#33]
@HenrikBengtsson
Copy link
Owner Author

Shoulw we also add argument resolve to values()? The default should be resolve=TRUE (as now), but with resolve=FALSE, non-resolved futures are return as Future objects whereas resolved on have their value():s returned. Not sure how useful this feature will be though.

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

No branches or pull requests

1 participant