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.
-
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.
threadId :: Connection -> IO Wordmysql Database.MySQL.Base No documentation available.
-
mysql Database.MySQL.Base.C No documentation available.
mysql_thread_id :: Ptr MYSQL -> IO CULongmysql Database.MySQL.Base.C No documentation available.
mysql_thread_init :: IO MyBoolmysql Database.MySQL.Base.C No documentation available.
-
pango Graphics.Rendering.Pango No documentation available.
-
pango Graphics.Rendering.Pango.Enums No documentation available.
parseByRead :: Read a => String -> TextParser apolyparse 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).
parseByRead :: Read a => String -> TextParser apolyparse 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.
eitherReader :: (String -> Either String a) -> ReadM asimple-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)