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

iffy does not support extended function semantics #63

Closed
eprykhodko opened this issue Mar 13, 2018 · 1 comment
Closed

iffy does not support extended function semantics #63

eprykhodko opened this issue Mar 13, 2018 · 1 comment

Comments

@eprykhodko
Copy link
Contributor

eprykhodko commented Mar 13, 2018

Any reason why it doesn't?
I think it should, at least in the form with 2 or 3 arguments.

In [28]: from funcy import iffy
In [29]: foo = iffy({'x',  'y'}, len)
In [30]: foo('x')

The above feels like it should be a valid use of funcy.
Thanks!

@Suor
Copy link
Owner

Suor commented Mar 25, 2018

Implemented by @eprykhodko.

@Suor Suor closed this as completed Mar 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants