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

Reduce must return an interface to support multiple type #50

Closed
kubino opened this issue Oct 31, 2018 · 2 comments
Closed

Reduce must return an interface to support multiple type #50

kubino opened this issue Oct 31, 2018 · 2 comments

Comments

@kubino
Copy link

kubino commented Oct 31, 2018

Hi I would like to use Reduce function but it seems that output result must be always float64, so no Map or Array or whatever else is supported? I am completely new to Go maybe I am missing something. Thank you for your help.

@thoas
Copy link
Owner

thoas commented Nov 8, 2018

You are right, it seems the Reduce has been done only for integer at the moment feel free to send a patch to support others operations.

@thoas thoas changed the title Reduce must return float64 ? Reduce must return an interface to support multiple type Nov 8, 2018
@reetuparna
Copy link
Contributor

reetuparna commented Jul 31, 2020

Taking this up @thoas

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

3 participants