Skip to content

Module ‘Data.Semigroup’ does not export ‘Option’ any longer [-Wdodgy-imports] #520

Description

@e-kwsm

import Data.Semigroup hiding (Option)

import Data.Semigroup hiding (Option)

https://hackage-content.haskell.org/package/base-4.12.0.0/docs/Data-Semigroup.html#t:Option

In GHC 8.4 and higher, the Monoid instance for Maybe has been corrected to lift a Semigroup instance instead of a Monoid instance. Consequently, this type is no longer useful. It will be marked deprecated in GHC 8.8 and removed in GHC 8.10.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions