-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add vararg (.) #25
Comments
I'm in favor of it. |
(Though I suspect type inference might not be so good, even for monadic actions. It'll likely get complicated by the fact that |
Actually, maybe you should first check locally whether you even can write a |
(A possible candidate for an implementation: http://okmij.org/ftp/Haskell/polyvar-comp.lhs. There might be others.) |
Oh really, I didn't provide that |
I don't like vararg I've already proposed to add such functions under origin issue. But @gromakovsky shared his concerns regarding performance degrade. |
Unfortunately, |
Implemented in this commit: 8c26301 |
Maybe introduce some
(.:)
, wheref .: g
appliesf
to result ofg
,g
accepts several arguments and returns monadic action?For example
lift .:
seems to be handyThe text was updated successfully, but these errors were encountered: