Skip to content

Don't import Safe ST modules for modern versions of base#23

Open
konsumlamm wants to merge 1 commit intomvv:masterfrom
konsumlamm:master
Open

Don't import Safe ST modules for modern versions of base#23
konsumlamm wants to merge 1 commit intomvv:masterfrom
konsumlamm:master

Conversation

@konsumlamm
Copy link

Control.Monad.ST.Safe and Control.Monad.ST.Lazy.Safe are deprecated since base-4.8, so only import them for olderbase versions. I think it would be reasonable to drop support for base < 4.8, as that would allow to get rid of a bunch of CPP, but I have not done that in this PR.

With this change, transformers-base compiles with MicroHs, so update the .gitignore to also match dist-mcabal.

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

Successfully merging this pull request may close these issues.

1 participant