Skip to content
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

Fix outdated documentation for wrappedWithRunInIO #72

Merged
merged 2 commits into from
Apr 22, 2021
Merged

Fix outdated documentation for wrappedWithRunInIO #72

merged 2 commits into from
Apr 22, 2021

Commits on Apr 19, 2021

  1. Fix outdated documentation for wrappedWithRunInIO

    Comment that inspired this change:
    <#55 (comment)>
    
    Previously, you were unable to derive `MonadUnliftIO` using the
    `newtype` strategy because `askUnliftIO` was a method of the typeclass
    ([related issue](#55)).
    
    The `wrappedWithRunInIO` function is provided to help write instances
    of `MonadUnliftIO` for newtypes.
    
    In `unliftio-core` 0.2.0.0 and later, `askUnliftIO` was moved out of the
    `MonadUnliftIO` typeclass. This makes `wrappedWithRunInIO` irrelevant.
    
    This change deprecates that function, and updates the documentation to
    clarify that you can now write `deriving newtype (MonadUnliftIO)`.
    Evan Relf committed Apr 19, 2021
    Configuration menu
    Copy the full SHA
    36a7b21 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2021

  1. Remove deprecation warning

    Evan Relf committed Apr 21, 2021
    Configuration menu
    Copy the full SHA
    c6a50c9 View commit details
    Browse the repository at this point in the history