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

fork-join and zip should have a dedicated parameter for selector #26

Open
noxecane opened this issue May 9, 2017 · 0 comments
Open

Comments

@noxecane
Copy link

noxecane commented May 9, 2017

I know this situation might not be general.

So I extended beicon.core/Observable to implement the IFn interface. But this led to problems in the arrangement of my arguments when using zip. Looking through the source code I discovered, that only fork-join and zip check if their first argument is a function before proceeding. I would like to suggest changing it to a variadic function(not sure if that's correct). Something like this

(defn zip
    ([& items].....)
    ([selector & items...........]))
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

2 participants