-
Notifications
You must be signed in to change notification settings - Fork 12
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
where's Control.Applicative.Compat #22
Comments
The orphan instances are in Data types in general we dropped for now, as some of the data types that were added to Sent from my iPhone
|
Now that I think about it, I think we forgot to update the changelog to reflect this. It might not hurt to make a 0.8.0.1 release with |
Damn! Yes, I missed that. What do you think about linking to the changelog on github instead, for proper markdown formatting? Sent from my iPhone
|
We could do both. I like having the changelog section of the Hackage page link to something, since that's where I usually look first to get an idea of what changed. |
Ok, cool, works for me. It's already late here, but I can update the changelog tomorrow, unless you want to take care of it. Sent from my iPhone
|
I was using eg (<*) from Control.Applicative.Compat, which I don't think is in base-orphans ? |
Ah. In that case, I think you are using In the case of #if !MIN_VERSION_base(4,8,0)
import Control.Applicative.Compat ((<*))
#endif why not do this: import Prelude ()
import Prelude.Compat You get the same functionality with no CPP pragmas. |
No, but it's in Control.Applicative for all supported versions of base. Control.Applicative.Compat did not define any functions nor operators. https://github.com/haskell-compat/base-compat/pull/21/files#diff-22b439017b3fdc587c4fd621f6c56078L1 Sent from my iPhone
|
(Ryan, I edited your code in the quote and removed the import list for Prelude.Compat. That's what you meant, right?) |
Yes, I was trying to keep things building before and after GHC 7.10. Clearly it's not as simple as "just use base-compat". Thanks for the hints. |
We definitely didn't advertise this change as well as we should have, given how substantial it was. (I uploaded I'll go ahead and close this for now–please let us know if there are other issues in using |
All clear now, thank you. |
…a-constructors Typeable instances for promoted data constructors
0.8.0 dropped Control.Applicative.Compat. Where can this be found now ? (simonmichael/hledger#245)
The text was updated successfully, but these errors were encountered: