Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
Test interactive Haskell examples The doctest program checks examples in source code comments. It is modeled after doctest for Python (https://docs.python.org/3/library/doctest.html). Documentation is at https://github.com/martijnbastiaan/doctest-parallel#readme.
-
genvalidity-text Data.GenValidity.Text textAllCaps generates a Text value with only upper-case characters.
-
No documentation available.
-
gi-gdkpixbuf GI.GdkPixbuf.Objects.Pixbuf Vector version of gdk_pixbuf_save_to_callback(). Saves pixbuf to a callback in format type, which is currently "jpeg", "png", "tiff", "ico" or "bmp". If error is set, FALSE will be returned. See Pixbuf.save_to_callback() for more details. Since: 2.4
type
PixbufLoaderAreaPreparedCallback = IO ()gi-gdkpixbuf GI.GdkPixbuf.Objects.PixbufLoader This signal is emitted when the pixbuf loader has allocated the pixbuf in the desired size. After this signal is emitted, applications can call pixbufLoaderGetPixbuf to fetch the partially-loaded pixbuf.
type
PixbufLoaderAreaUpdatedCallback = Int32 -> Int32 -> Int32 -> Int32 -> IO ()gi-gdkpixbuf GI.GdkPixbuf.Objects.PixbufLoader This signal is emitted when a significant area of the image being loaded has been updated. Normally it means that a complete scanline has been read in, but it could be a different area as well. Applications can use this signal to know when to repaint areas of an image that is being loaded.
type
PixbufLoaderClosedCallback = IO ()gi-gdkpixbuf GI.GdkPixbuf.Objects.PixbufLoader This signal is emitted when pixbufLoaderClose is called. It can be used by different parts of an application to receive notification when an image loader is closed by the code that drives it.
type
PixbufLoaderSizePreparedCallback = Int32 -> Int32 -> IO ()gi-gdkpixbuf GI.GdkPixbuf.Objects.PixbufLoader This signal is emitted when the pixbuf loader has been fed the initial amount of data that is required to figure out the size of the image that it will create. Applications can call pixbufLoaderSetSize in response to this signal to set the desired size to which the image should be scaled.
-
logict Control.Monad.Logic Extracts all results from a Logic computation.
>>> observeAll (pure 5 <|> empty <|> empty <|> pure 3 <|> empty) [5,3]
observeAll reveals a half of the isomorphism between Logic and lists. See description of runLogic for the other half. observeAllT :: Applicative m => LogicT m a -> m [a]logict Control.Monad.Logic Extracts all results from a LogicT computation, unless blocked by the underlying monad. For example, given
>>> let nats = pure 0 <|> fmap (+ 1) nats
some monads (like Identity, Reader, Writer, and State) will be productive:>>> take 5 $ runIdentity (observeAllT nats) [0,1,2,3,4]
but others (like ExceptT, and ContT) will not:>>> take 20 <$> runExcept (observeAllT nats)
In general, if the underlying monad manages control flow then observeAllT may be unproductive under infinite branching, and observeManyT should be used instead.