-
Notifications
You must be signed in to change notification settings - Fork 2
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 some variadic function to simplify dependency invocation? #1
Comments
If we want to leave the function polymorphic on the monad, as in bc3aca3 , then we have a big problem: the typeclass that implements the variadic function can't be sure if the
|
Another thing that I tried here fefa627 was to have a
Alas, it doesn't work:
Similar problem as before: polymorphic monad = trouble. |
A consolation price is that one can write auxiliary functions for each
And use them like this:
It's more boilerplate though. |
Invoking functions stored in a record-of-functions while in a
ReaderT
/DepT
is kind of verbose. I asked about that in SO some time ago.Perhaps one of the answers to that question could be added to this package.
The text was updated successfully, but these errors were encountered: