-
Notifications
You must be signed in to change notification settings - Fork 5
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
Problem with type inference caused by ! defaults
#15
Comments
The problem is that the type of
This means that one of potential instantiations of
and in this case This possibility means that A workaround is to give
In this case, |
Thank you for the clarification! |
I have the following function declared in my typeclass:
https://github.com/DSTOQ/haskell-stellar-client/blob/master/src/Control/Monad/Stellar.hs#L26
When calling it in this way:
all compiles well,
but if only I try to use
! defaults
, I get the following error:The text was updated successfully, but these errors were encountered: