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. type NoInstanceForSub (tycls :: k) (expr :: k') = 'Text "There is no instance for " ':<>: 'ShowType tycls ':<>: 'Text " (" ':<>: 'ShowType expr ':<>: 'Text " :> ...)"

    servant Servant.API.TypeErrors

    No instance exists for tycls (expr :> ...) because expr is not recognised.

  2. transformStepWithAtto :: forall a (m :: Type -> Type) . Monad m => Parser a -> StepT m ByteString -> StepT m a

    servant Servant.Types.SourceT

    No documentation available.

  3. transformWithAtto :: forall (m :: Type -> Type) a . Monad m => Parser a -> SourceT m ByteString -> SourceT m a

    servant Servant.Types.SourceT

    Transform using attoparsec parser. Note: parser should not accept empty input!

    >>> let parser = A.skipWhile A8.isSpace_w8 >> A.takeWhile1 A8.isDigit_w8
    
    >>> runExcept $ runSourceT $ transformWithAtto parser (source $ [fromString "1 2 3"])
    Right ["1","2","3"]
    
    >>> runExcept $ runSourceT $ transformWithAtto parser (source $ map fromString ["1", "2", "3"])
    Right ["123"]
    
    >>> runExcept $ runSourceT $ transformWithAtto parser (source $ map fromString ["1", "2 3", "4"])
    Right ["12","34"]
    
    >>> runExcept $ runSourceT $ transformWithAtto parser (source [fromString "foobar"])
    Left "Failed reading: takeWhile1"
    

  4. package transformers-compat

    A small compatibility shim for the transformers library This package includes backported versions of types that were added to transformers in transformers 0.3, 0.4, and 0.5 for users who need strict transformers 0.2 or 0.3 compatibility to run on old versions of the platform, but also need those types. Those users should be able to just depend on transformers >= 0.2 and transformers-compat >= 0.3. Note: missing methods are not supplied, but this at least permits the types to be used.

  5. defaultFormatOptions :: FormatOptions

    yaml Data.Yaml

    No documentation available.

  6. setFormat :: FormatOptions -> EncodeOptions -> EncodeOptions

    yaml Data.Yaml

    Set the encoding formatting for the encoded YAML. By default, this is defaultFormatOptions.

  7. DataFormatError :: String -> DecompressError

    zlib Codec.Compression.GZip

    If the compressed data stream is corrupted in any way then you will get this error, for example if the input data just isn't a compressed zlib data stream. In particular if the data checksum turns out to be wrong then you will get all the decompressed data but this error at the end, instead of the normal successful StreamEnd.

  8. DataFormatError :: String -> DecompressError

    zlib Codec.Compression.Zlib

    If the compressed data stream is corrupted in any way then you will get this error, for example if the input data just isn't a compressed zlib data stream. In particular if the data checksum turns out to be wrong then you will get all the decompressed data but this error at the end, instead of the normal successful StreamEnd.

  9. DataFormatError :: String -> DecompressError

    zlib Codec.Compression.Zlib.Internal

    If the compressed data stream is corrupted in any way then you will get this error, for example if the input data just isn't a compressed zlib data stream. In particular if the data checksum turns out to be wrong then you will get all the decompressed data but this error at the end, instead of the normal successful StreamEnd.

  10. gzipFormat :: Format

    zlib Codec.Compression.Zlib.Internal

    The gzip format uses a header with a checksum and some optional meta-data about the compressed file. It is intended primarily for compressing individual files but is also sometimes used for network protocols such as HTTP. The format is described in detail in RFC #1952 http://www.ietf.org/rfc/rfc1952.txt

Page 381 of many | Previous | Next