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.

  1. package doctest-parallel

    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.

  2. textAllCaps :: Gen Text

    genvalidity-text Data.GenValidity.Text

    textAllCaps generates a Text value with only upper-case characters.

  3. module GI.GdkPixbuf.Callbacks

    No documentation available.

  4. pixbufSaveToCallbackv :: (HasCallStack, MonadIO m, IsPixbuf a) => a -> PixbufSaveFunc -> Text -> Maybe [Text] -> Maybe [Text] -> m ()

    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

  5. 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.

  6. 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.

  7. 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.

  8. 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.

  9. observeAll :: Logic a -> [a]

    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.

  10. 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.

Page 479 of many | Previous | Next