Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. fromFoldable :: (Vector v a, Foldable f) => f a -> Maybe (v a)

    fixed-vector Data.Vector.Fixed

    Create vector from Foldable data type. Will return Nothing if data type different number of elements that resulting vector.

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

Page 5 of many | Previous | Next