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. arrayFormat :: Char -> Parser ArrayFormat

    postgresql-simple Database.PostgreSQL.Simple.Arrays

    Parse one of three primitive field formats: array, quoted and plain.

  2. foldForward :: FromRow r => Cursor -> Int -> (a -> r -> IO a) -> a -> IO (Either a a)

    postgresql-simple Database.PostgreSQL.Simple.Cursor

    Fold over a chunk of rows, calling the supplied fold-like function on each row as it is received. In case the cursor is exhausted, a Left value is returned, otherwise a Right value is returned.

  3. foldForwardWithParser :: Cursor -> RowParser r -> Int -> (a -> r -> IO a) -> a -> IO (Either a a)

    postgresql-simple Database.PostgreSQL.Simple.Cursor

    Fold over a chunk of rows from the given cursor, calling the supplied fold-like function on each row as it is received. In case the cursor is exhausted, a Left value is returned, otherwise a Right value is returned.

  4. performRequest :: Maybe [Status] -> Request -> ClientM Response

    servant-client Servant.Client.Internal.HttpClient

    No documentation available.

  5. performRequest :: Maybe [Status] -> Request -> ClientM Response

    servant-client Servant.Client.Internal.HttpClient.Streaming

    No documentation available.

  6. performWithStreamingRequest :: Request -> (StreamingResponse -> IO a) -> ClientM a

    servant-client Servant.Client.Internal.HttpClient.Streaming

    TODO: support UVerb (acceptStatus argument, like in performRequest above).

  7. listCodecForStringCompatibility :: HasCodec value => JSONCodec [value]

    autodocodec Autodocodec

    A codec for a list of values This is really only useful for cases like Char and String. We didn't call it listCodec so we could use that name for making a codec for a list of values from a single codec instead.

  8. listCodecForStringCompatibility :: HasCodec value => JSONCodec [value]

    autodocodec Autodocodec.Class

    A codec for a list of values This is really only useful for cases like Char and String. We didn't call it listCodec so we could use that name for making a codec for a list of values from a single codec instead.

  9. checkForeignKeys :: forall (m :: Type -> Type) env . (MonadResource m, MonadReader env m, BackendCompatible SqlBackend env) => ConduitM () ForeignKeyViolation m ()

    persistent-sqlite Database.Persist.Sqlite

    Outputs all (if any) the violated foreign key constraints in the database. The main use is to validate that no foreign key constraints were broken/corrupted by anyone operating on the database with foreign keys disabled. See fkEnabled.

  10. waitForDatabase :: forall (m :: Type -> Type) backend . (MonadUnliftIO m, MonadLoggerIO m, BackendCompatible SqlBackend backend) => ReaderT backend m ()

    persistent-sqlite Database.Persist.Sqlite

    Wait until some noop action on the database does not return an ErrorBusy. See retryOnBusy.

Page 425 of many | Previous | Next