Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

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

  1. initThread :: IO ()

    mysql Database.MySQL.Base

    Call mysql_thread_init Again a single-threaded program does not need to call this explicitly. Even in a multi-threaded one, if each connection is made, used, and destroyed in a single thread, it is sufficient to rely on the connect call to do an implicit thread initialisation. But in other cases, for example when using a connection pool, each thread requires explicit initialisation. See https://ro-che.info/articles/2015-04-17-safe-concurrent-mysql-haskell and https://dev.mysql.com/doc/refman/5.7/en/c-api-threaded-clients.html for details.

  2. threadId :: Connection -> IO Word

    mysql Database.MySQL.Base

    No documentation available.

  3. mysql_thread_end :: IO ()

    mysql Database.MySQL.Base.C

    No documentation available.

  4. mysql_thread_id :: Ptr MYSQL -> IO CULong

    mysql Database.MySQL.Base.C

    No documentation available.

  5. mysql_thread_init :: IO MyBool

    mysql Database.MySQL.Base.C

    No documentation available.

  6. SizeUnreadable :: Size

    pango Graphics.Rendering.Pango

    No documentation available.

  7. SizeUnreadable :: Size

    pango Graphics.Rendering.Pango.Enums

    No documentation available.

  8. parseByRead :: Read a => String -> TextParser a

    polyparse Text.Parse

    If there already exists a Read instance for a type, then we can make a Parser for it, but with only poor error-reporting. The string argument is the expected type or value (for error-reporting only).

  9. parseByRead :: Read a => String -> TextParser a

    polyparse Text.Parse.ByteString

    If there already exists a Read instance for a type, then we can make a Parser for it, but with only poor error-reporting. The string argument is the expected type or value (for error-reporting only). Use of this wrapper function is NOT recommended with ByteString, because there is a lot of inefficiency in repeated conversions to/from String.

  10. eitherReader :: (String -> Either String a) -> ReadM a

    simple-cmd-args SimpleCmdArgs

    Convert a function producing an Either into a reader. As an example, one can create a ReadM from an attoparsec Parser easily with

    import qualified Data.Attoparsec.Text as A
    import qualified Data.Text as T
    attoparsecReader :: A.Parser a -> ReadM a
    attoparsecReader p = eitherReader (A.parseOnly p . T.pack)
    

Page 575 of many | Previous | Next