Hoogle Search

Within LTS Haskell 24.3 (ghc-9.10.2)

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.Base

    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

    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.

  7. 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.

  8. 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}
    

  9. Any :: Bool -> Any

    base-compat Data.Monoid.Compat

    No documentation available.

  10. 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}
    

Page 1 of many | Next