Hoogle Search
Within LTS Haskell 24.66 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
alsa-seq Sound.ALSA.Sequencer.Queue.Timer No documentation available.
isValidBase16 :: ByteString -> Boolbase16 Data.ByteString.Base16 Tell whether an untyped ByteString value is a valid Base16 format. This will not tell you whether or not this is a correct Base16 representation, only that it conforms to the correct alphabet. To check whether it is a true Base16 encoded ByteString value, use isBase16.
Examples:
>>> isValidBase16 "666f+/6" False
>>> isValidBase16 "666f6" True
isValidBase16 :: ByteString -> Boolbase16 Data.ByteString.Lazy.Base16 Tell whether an untyped lazy ByteString value is a valid Base16 format. This will not tell you whether or not this is a correct Base16 representation, only that it conforms to the correct alphabet. To check whether it is a true Base16 encoded ByteString value, use isBase16.
Examples:
>>> isValidBase16 "666f+/6" False
>>> isValidBase16 "666f6" True
isValidBase16 :: ShortByteString -> Boolbase16 Data.ByteString.Short.Base16 Tell whether an untyped ShortByteString value is a valid Base16 format. This will not tell you whether or not this is a correct Base16 representation, only that it conforms to the correct alphabet. To check whether it is a true Base16 encoded ShortByteString value, use isBase16.
Examples:
>>> isValidBase16 "666f+/6" False
>>> isValidBase16 "666f6" True
-
base16 Data.Text.Encoding.Base16 Tell whether a Text value is a valid Base16 format. This will not tell you whether or not this is a correct Base16 representation, only that it conforms to the correct shape. To check whether it is a true Base16 encoded Text value, use isBase16.
Examples:
>>> isValidBase16 "666f+/6" False
>>> isValidBase16 "666f6" True
-
base16 Data.Text.Lazy.Encoding.Base16 Tell whether a lazy Text value is a valid Base16 format. This will not tell you whether or not this is a correct Base16 representation, only that it conforms to the correct shape. To check whether it is a true Base16 encoded Text value, use isBase16.
Examples:
>>> isValidBase16 "666f+/6" False
>>> isValidBase16 "666f6" True
isValidBase16 :: ShortText -> Boolbase16 Data.Text.Short.Encoding.Base16 Tell whether a ShortText value is a valid Base16 format. This will not tell you whether or not this is a correct Base16 representation, only that it conforms to the correct shape. To check whether it is a true Base16 encoded ShortText value, use isBase16.
Examples:
>>> isValidBase16 "666f+/6" False
>>> isValidBase16 "666f6" True
void :: Functor f => f a -> f ()basic-prelude BasicPrelude 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
-
basic-prelude CorePrelude 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
allFieldsValid :: Form s e n -> Boolbrick Brick.Forms Returns whether all form fields in the form currently have valid values according to the fields' validation functions. This is useful when we need to decide whether the form state is up to date with respect to the form input fields.