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

Map should take a lambda? #17

Open
fabio-t opened this issue Nov 8, 2017 · 1 comment
Open

Map should take a lambda? #17

fabio-t opened this issue Nov 8, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@fabio-t
Copy link
Owner

fabio-t commented Nov 8, 2017

Must investigate whether I should pass a lambda to map functions, or even better how to make it a Stream so that I can use functional-style filter/fold/map functions.

@fabio-t fabio-t added the feature label Nov 8, 2017
@fabio-t fabio-t self-assigned this Nov 8, 2017
@fabio-t
Copy link
Owner Author

fabio-t commented Nov 8, 2017

The big use case is selecting only a subset of the surrounding entities; using a filter would save a lot of code and quite possibly computation (since right now we first collect all visible entities around, and then iterate over them again to select a few).

@fabio-t fabio-t added this to the 0.2.0 milestone Nov 8, 2017
@fabio-t fabio-t added this to TODO in AloneRL v0.9.0 Nov 8, 2017
@fabio-t fabio-t modified the milestones: 0.2.0, 0.3.0 Nov 8, 2017
@fabio-t fabio-t modified the milestones: 0.3.0, 0.9.0 Feb 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

1 participant