Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

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

  1. forEachWith_ :: RowParser r -> Connection -> Query -> (r -> IO ()) -> IO ()

    postgresql-simple Database.PostgreSQL.Simple

    No documentation available.

  2. forEach_ :: FromRow r => Connection -> Query -> (r -> IO ()) -> IO ()

    postgresql-simple Database.PostgreSQL.Simple

    A version of forEach that does not perform query substitution.

  3. formatMany :: ToRow q => Connection -> Query -> [q] -> IO ByteString

    postgresql-simple Database.PostgreSQL.Simple

    Format a query string with a variable number of rows. This function is exposed to help with debugging and logging. Do not use it to prepare queries for execution. The query string must contain exactly one substitution group, identified by the SQL keyword "VALUES" (case insensitive) followed by an "(" character, a series of one or more "?" characters separated by commas, and a ")" character. White space in a substitution group is permitted. Throws FormatError if the query string could not be formatted correctly.

  4. formatQuery :: ToRow q => Connection -> Query -> q -> IO ByteString

    postgresql-simple Database.PostgreSQL.Simple

    Format a query string. This function is exposed to help with debugging and logging. Do not use it to prepare queries for execution. String parameters are escaped according to the character set in use on the Connection. Throws FormatError if the query string could not be formatted correctly.

  5. format :: Field -> Format

    postgresql-simple Database.PostgreSQL.Simple.FromField

    This returns whether the data was returned in a binary or textual format. Analogous to libpq's PQfformat.

  6. force :: Exceptional e a -> Exceptional e a

    explicit-exception Control.Monad.Exception.Asynchronous.Lazy

    construct Exceptional constructor lazily

  7. forceT :: forall (m :: Type -> Type) e a . Monad m => ExceptionalT e m a -> ExceptionalT e m a

    explicit-exception Control.Monad.Exception.Asynchronous.Lazy

    see force

  8. force :: Exceptional e a -> Exceptional e a

    explicit-exception Control.Monad.Exception.Asynchronous.Strict

    construct Exceptional constructor lazily

  9. forceT :: forall (m :: Type -> Type) e a . Monad m => ExceptionalT e m a -> ExceptionalT e m a

    explicit-exception Control.Monad.Exception.Asynchronous.Strict

    see force

  10. force :: Exceptional e a -> Exceptional e a

    explicit-exception Control.Monad.Exception.Synchronous

    If you are sure that the value is always a Success you can tell that the run-time system thus making your program lazy. However, try to avoid this function by using catch and friends, since this function is partial.

Page 38 of many | Previous | Next