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.
unsafeMkDefUnitId :: UnitId -> DefUnitIdCabal-syntax Distribution.Types.UnitId Unsafely create a DefUnitId from a UnitId. Your responsibility is to ensure that the DefUnitId invariant holds.
validVersion :: Version -> BoolCabal-syntax Distribution.Types.Version No documentation available.
validateUTF8 :: ByteString -> Maybe IntCabal-syntax Distribution.Utils.Generic Check that strict ByteString is valid UTF8. Returns 'Just offset' if it's not.
UndecidableInstances :: KnownExtensionCabal-syntax Language.Haskell.Extension Ignore structural rules guaranteeing the termination of class instance resolution. Termination is guaranteed by a fixed-depth recursion stack, and compilation may fail if this depth is exceeded.
UndecidableSuperClasses :: KnownExtensionCabal-syntax Language.Haskell.Extension Allow recursive (and therefore undecidable) super-class relationships.
isValidBase64 :: ByteString -> Boolbase64 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
isValidBase64Url :: ByteString -> Boolbase64 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
isValidBase64 :: ByteString -> Boolbase64 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
isValidBase64Url :: ByteString -> Boolbase64 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
isValidBase64 :: ShortByteString -> Boolbase64 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