Hoogle Search

Within LTS Haskell 23.24 (ghc-9.8.4)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. newtype Any

    base Data.Monoid

    Boolean monoid under disjunction (||).

    Any x <> Any y = Any (x || y)
    

    Examples

    >>> Any True <> mempty <> Any False
    Any {getAny = True}
    
    >>> mconcat (map (\x -> Any (even x)) [2,4,6,7,8])
    Any {getAny = True}
    
    >>> Any False <> mempty
    Any {getAny = False}
    

  2. Any :: Bool -> Any

    base Data.Monoid

    No documentation available.

  3. newtype Any

    base Data.Semigroup

    Boolean monoid under disjunction (||).

    Any x <> Any y = Any (x || y)
    

    Examples

    >>> Any True <> mempty <> Any False
    Any {getAny = True}
    
    >>> mconcat (map (\x -> Any (even x)) [2,4,6,7,8])
    Any {getAny = True}
    
    >>> Any False <> mempty
    Any {getAny = False}
    

  4. Any :: Bool -> Any

    base Data.Semigroup

    No documentation available.

  5. type family Any :: k

    base GHC.Exts

    The type constructor Any is type to which you can unsafely coerce any lifted type, and back. More concretely, for a lifted type t and value x :: t, unsafeCoerce (unsafeCoerce x :: Any) :: t is equivalent to x.

  6. type family Any :: k

    ghc-prim GHC.Types

    The type constructor Any is type to which you can unsafely coerce any lifted type, and back. More concretely, for a lifted type t and value x :: t, unsafeCoerce (unsafeCoerce x :: Any) :: t is equivalent to x.

  7. newtype Any

    base-compat Data.Monoid.Compat

    Boolean monoid under disjunction (||).

    Any x <> Any y = Any (x || y)
    

    Examples

    >>> Any True <> mempty <> Any False
    Any {getAny = True}
    
    >>> mconcat (map (\x -> Any (even x)) [2,4,6,7,8])
    Any {getAny = True}
    
    >>> Any False <> mempty
    Any {getAny = False}
    

  8. Any :: Bool -> Any

    base-compat Data.Monoid.Compat

    No documentation available.

  9. newtype Any

    base-compat Data.Semigroup.Compat

    Boolean monoid under disjunction (||).

    Any x <> Any y = Any (x || y)
    

    Examples

    >>> Any True <> mempty <> Any False
    Any {getAny = True}
    
    >>> mconcat (map (\x -> Any (even x)) [2,4,6,7,8])
    Any {getAny = True}
    
    >>> Any False <> mempty
    Any {getAny = False}
    

  10. Any :: Bool -> Any

    base-compat Data.Semigroup.Compat

    No documentation available.

Page 1 of many | Next