Hoogle Search
Within LTS Haskell 24.65 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
varId :: ReverseDouble s -> Intad Numeric.AD.Internal.Reverse.Double No documentation available.
TypePrimitiveInvalid :: String -> ASN1Errorasn1-encoding Data.ASN1.Error Invalid primitive type
-
asn1-encoding Data.ASN1.Prim No documentation available.
getOID :: ByteString -> Either ASN1Error ASN1asn1-encoding Data.ASN1.Prim return an OID
putOID :: [Integer] -> ByteStringasn1-encoding Data.ASN1.Prim No documentation available.
void :: Functor f => f a -> f ()base-compat-batteries Control.Monad.Compat void value discards or ignores the result of evaluation, such as the return value of an IO action.
Examples
Replace the contents of a Maybe Int with unit:>>> void Nothing Nothing
>>> void (Just 3) Just ()
Replace the contents of an Either Int Int with unit, resulting in an Either Int ():>>> void (Left 8675309) Left 8675309
>>> void (Right 8675309) Right ()
Replace every element of a list with unit:>>> void [1,2,3] [(),(),()]
Replace the second element of a pair with unit:>>> void (1,2) (1,())
Discard the result of an IO action:>>> mapM print [1,2] 1 2 [(),()]
>>> void $ mapM print [1,2] 1 2
-
base-compat-batteries Data.Monoid.Compat The class of monoids (types with an associative binary operation that has an identity). Instances should satisfy the following:
- Right identity x <> mempty = x
- Left identity mempty <> x = x
- Associativity x <> (y <> z) = (x <> y) <> z (Semigroup law)
- Concatenation mconcat = foldr (<>) mempty
- Unit mconcat (pure x) = x
- Multiplication mconcat (join xss) = mconcat (fmap mconcat xss)
- Subclass mconcat (toList xs) = sconcat xs
WrapMonoid :: m -> WrappedMonoid mbase-compat-batteries Data.Semigroup.Compat No documentation available.
-
base-compat-batteries Data.Semigroup.Compat Provide a Semigroup for an arbitrary Monoid. NOTE: This is not needed anymore since Semigroup became a superclass of Monoid in base-4.11 and this newtype be deprecated at some point in the future.
stimesIdempotent :: Integral b => b -> a -> abase-compat-batteries Data.Semigroup.Compat This is a valid definition of stimes for an idempotent Semigroup. When x <> x = x, this definition should be preferred, because it works in <math> rather than <math>.