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

Creator should be able to provide a single solution #107

Open
julian-zucker opened this issue Jun 28, 2019 · 0 comments
Open

Creator should be able to provide a single solution #107

julian-zucker opened this issue Jun 28, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@julian-zucker
Copy link
Member

Is your feature request related to a problem? Please describe.
We consistently have to make creators with this shape:

Vector.fill(32)(... the actual creation part...)

because of the type signature of CreatorFunction.create(), namely () => TraversableOnce[Sol]'

Describe the solution you'd like
We should keep the current creator signature, for people who want some kind of more complex construction method, that yields more than one solution. We should add something like a "SingleSolutionCreator", similar to the "MutatorAgent"/"ModifierAgent".

Describe alternatives you've considered
This is low priority, as it really only saves people typing Vector.fill(32)(…). But I think this type signature will be confusing, so it would be nice to provide a more intuitive/less surprising signature for this method.

Additional context
Add any other context or screenshots about the feature request here.

@julian-zucker julian-zucker added the enhancement New feature or request label Jun 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant