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.
-
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}
-
base Data.Monoid No documentation available.
-
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}
-
base Data.Semigroup No documentation available.
-
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.
-
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.
-
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}
-
base-compat Data.Monoid.Compat No documentation available.
-
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}
-
base-compat Data.Semigroup.Compat No documentation available.
Page 1 of many | Next