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.

  1. MidiTick :: Type

    alsa-seq Sound.ALSA.Sequencer.Queue.Timer

    No documentation available.

  2. isValidBase16 :: ByteString -> Bool

    base16 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
    

  3. isValidBase16 :: ByteString -> Bool

    base16 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
    

  4. isValidBase16 :: ShortByteString -> Bool

    base16 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
    

  5. isValidBase16 :: Text -> Bool

    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
    

  6. isValidBase16 :: Text -> Bool

    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
    

  7. isValidBase16 :: ShortText -> Bool

    base16 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
    

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

  9. class Semigroup a => Monoid a

    basic-prelude CorePrelude

    The class of monoids (types with an associative binary operation that has an identity). Instances should satisfy the following:

    You can alternatively define mconcat instead of mempty, in which case the laws are: The method names refer to the monoid of lists under concatenation, but there are many other instances. Some types can be viewed as a monoid in more than one way, e.g. both addition and multiplication on numbers. In such cases we often define newtypes and make those instances of Monoid, e.g. Sum and Product. NOTE: Semigroup is a superclass of Monoid since base-4.11.0.0.

  10. allFieldsValid :: Form s e n -> Bool

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

Page 948 of many | Previous | Next