Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

  1. uniformMay :: (Foldable t, MonadRandom m) => t a -> m (Maybe a)

    MonadRandom Control.Monad.Random.Class

    Sample a value uniformly from a collection of elements. Return Nothing if the collection is empty.

  2. class Uniform a

    MonadRandom Control.Monad.Random.Lazy

    The class of types for which a uniformly distributed value can be drawn from all possible values of the type.

  3. class UniformRange a

    MonadRandom Control.Monad.Random.Lazy

    The class of types for which a uniformly distributed value can be drawn from a range.

  4. class Uniform a

    MonadRandom Control.Monad.Random.Strict

    The class of types for which a uniformly distributed value can be drawn from all possible values of the type.

  5. class UniformRange a

    MonadRandom Control.Monad.Random.Strict

    The class of types for which a uniformly distributed value can be drawn from a range.

  6. type C_DataForeachFunc = Word32 -> Ptr () -> Ptr () -> IO ()

    gi-glib GI.GLib.Callbacks

    Type for the callback on the (unwrapped) C side.

  7. type C_NodeForeachFunc = Ptr Node -> Ptr () -> IO ()

    gi-glib GI.GLib.Callbacks

    Type for the callback on the (unwrapped) C side.

  8. type DataForeachFunc = Word32 -> Ptr () -> IO ()

    gi-glib GI.GLib.Callbacks

    Specifies the type of function passed to datasetForeach. It is called with each GQuark id and associated data element, together with the userData parameter supplied to datasetForeach.

  9. type DataForeachFunc_WithClosures = Word32 -> Ptr () -> Ptr () -> IO ()

    gi-glib GI.GLib.Callbacks

    Specifies the type of function passed to datasetForeach. It is called with each GQuark id and associated data element, together with the userData parameter supplied to datasetForeach.

  10. type NodeForeachFunc = Node -> Ptr () -> IO ()

    gi-glib GI.GLib.Callbacks

    Specifies the type of function passed to nodeChildrenForeach. The function is called with each child node, together with the user data passed to nodeChildrenForeach.

Page 525 of many | Previous | Next