Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. ConsultPolicyOverrideDelay :: Int -> RetryAction

    retry UnliftIO.Retry

    Retry if the RetryPolicy says so, but override the policy's delay (number of microseconds).

  2. isValidBase64 :: ByteString -> Bool

    base64 Data.ByteString.Base64

    Tell whether a ByteString value is a valid Base64 format. This will not tell you whether or not this is a correct Base64 representation, only that it conforms to the correct shape. To check whether it is a true Base64 encoded ByteString value, use isBase64.

    Examples:

    >>> isValidBase64 "U3Vu"
    True
    
    >>> isValidBase64 "U3V"
    True
    
    >>> isValidBase64 "U3V="
    True
    
    >>> isValidBase64 "%"
    False
    

  3. isValidBase64Url :: ByteString -> Bool

    base64 Data.ByteString.Base64.URL

    Tell whether a ByteString is a valid Base64url format. This will not tell you whether or not this is a correct Base64url representation, only that it conforms to the correct shape. To check whether it is a true Base64 encoded ByteString value, use isBase64Url.

    Examples:

    >>> isValidBase64Url "PDw_Pj4="
    True
    
    >>> isValidBase64Url "PDw_Pj"
    True
    
    >>> isValidBase64Url "%"
    False
    

  4. isValidBase64 :: ByteString -> Bool

    base64 Data.ByteString.Lazy.Base64

    Tell whether a ByteString value is a valid Base64 format. This will not tell you whether or not this is a correct Base64 representation, only that it conforms to the correct shape. To check whether it is a true Base64 encoded ByteString value, use isBase64.

    Examples:

    >>> isValidBase64 "U3Vu"
    True
    
    >>> isValidBase64 "U3V"
    True
    
    >>> isValidBase64 "U3V="
    True
    
    >>> isValidBase64 "%"
    False
    

  5. isValidBase64Url :: ByteString -> Bool

    base64 Data.ByteString.Lazy.Base64.URL

    Tell whether an untyped ByteString is a valid Base64url format. This will not tell you whether or not this is a correct Base64url representation, only that it conforms to the correct shape. To check whether it is a true Base64 encoded ByteString value, use isBase64Url.

    Examples:

    >>> isValidBase64Url "PDw_Pj4="
    True
    
    >>> isValidBase64Url "PDw_Pj"
    True
    
    >>> isValidBase64Url "%"
    False
    

  6. isValidBase64 :: ShortByteString -> Bool

    base64 Data.ByteString.Short.Base64

    Tell whether a ShortByteString value is a valid Base64 format. This will not tell you whether or not this is a correct Base64 representation, only that it conforms to the correct shape. To check whether it is a true Base64 encoded ShortByteString value, use isBase64.

    Examples:

    >>> isValidBase64 "U3Vu"
    True
    
    >>> isValidBase64 "U3V"
    True
    
    >>> isValidBase64 "U3V="
    True
    
    >>> isValidBase64 "%"
    False
    

  7. isValidBase64Url :: ShortByteString -> Bool

    base64 Data.ByteString.Short.Base64.URL

    Tell whether an untyped ShortByteString is a valid Base64url format. This will not tell you whether or not this is a correct Base64url representation, only that it conforms to the correct shape. To check whether it is a true Base64 encoded ShortByteString value, use isBase64Url.

    Examples:

    >>> isValidBase64Url "PDw_Pj4="
    True
    
    >>> isValidBase64Url "PDw_Pj"
    True
    
    >>> isValidBase64Url "%"
    False
    

  8. isValidBase64 :: Text -> Bool

    base64 Data.Text.Encoding.Base64

    Tell whether an untyped Text value is a valid Base64 format. This will not tell you whether or not this is a correct Base64 representation, only that it conforms to the correct shape. To check whether it is a true Base64 encoded Text value, use isBase64.

    Examples:

    >>> isValidBase64 "U3Vu"
    True
    
    >>> isValidBase64 "U3V"
    True
    
    >>> isValidBase64 "U3V="
    True
    
    >>> isValidBase64 "%"
    False
    

  9. isValidBase64Url :: Text -> Bool

    base64 Data.Text.Encoding.Base64.URL

    Tell whether an untyped Text value is a valid Base64url format. This will not tell you whether or not this is a correct Base64url representation, only that it conforms to the correct shape. To check whether it is a true Base64 encoded Text value, use isBase64Url.

    Examples:

    >>> isValidBase64Url "PDw_Pj4="
    True
    
    >>> isValidBase64Url "PDw_Pj"
    True
    
    >>> isValidBase64Url "%"
    False
    

  10. isValidBase64 :: Text -> Bool

    base64 Data.Text.Lazy.Encoding.Base64

    Tell whether an untyped Text value is a valid Base64 format. This will not tell you whether or not this is a correct Base64 representation, only that it conforms to the correct shape. To check whether it is a true Base64 encoded Text value, use isBase64.

    Examples:

    >>> isValidBase64 "U3Vu"
    True
    
    >>> isValidBase64 "U3V"
    True
    
    >>> isValidBase64 "U3V="
    True
    
    >>> isValidBase64 "%"
    False
    

Page 493 of many | Previous | Next