Hoogle Search

Within LTS Haskell 24.50 (ghc-9.10.3)

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

  1. PathPiece :: RTextLabel

    modern-uri Text.URI

    See mkPathPiece

  2. class PushEvents e (m :: Type -> Type)

    morpheus-graphql-core Data.Morpheus.Internal.Ext

    No documentation available.

  3. data Position

    morpheus-graphql-core Data.Morpheus.Types.Internal.AST

    No documentation available.

  4. Position :: Int -> Int -> Position

    morpheus-graphql-core Data.Morpheus.Types.Internal.AST

    No documentation available.

  5. PropIndex :: Int -> PropName

    morpheus-graphql-core Data.Morpheus.Types.Internal.AST

    No documentation available.

  6. data PropName

    morpheus-graphql-core Data.Morpheus.Types.Internal.AST

    No documentation available.

  7. PropName :: Text -> PropName

    morpheus-graphql-core Data.Morpheus.Types.Internal.AST

    No documentation available.

  8. module System.Random.MWC.Probability

    A probability monad based on sampling functions, implemented as a thin wrapper over the mwc-random library. Probability distributions are abstract constructs that can be represented in a variety of ways. The sampling function representation is particularly useful -- it's computationally efficient, and collections of samples are amenable to much practical work. Probability monads propagate uncertainty under the hood. An expression like beta 1 8 >>= binomial 10 corresponds to a beta-binomial distribution in which the uncertainty captured by beta 1 8 has been marginalized out. The distribution resulting from a series of effects is called the predictive distribution of the model described by the corresponding expression. The monadic structure lets one piece together a hierarchical structure from simpler, local conditionals:

    hierarchicalModel = do
    [c, d, e, f] <- replicateM 4 $ uniformR (1, 10)
    a <- gamma c d
    b <- gamma e f
    p <- beta a b
    n <- uniformR (5, 10)
    binomial n p
    
    The functor instance allows one to transforms the support of a distribution while leaving its density structure invariant. For example, uniform is a distribution over the 0-1 interval, but fmap (+ 1) uniform is the translated distribution over the 1-2 interval:
    >>> create >>= sample (fmap (+ 1) uniform)
    1.5480073474340754
    
    The applicative instance guarantees that the generated samples are generated independently:
    >>> create >>= sample ((,) <$> uniform <*> uniform)
    

  9. newtype Prob (m :: Type -> Type) a

    mwc-probability System.Random.MWC.Probability

    A probability distribution characterized by a sampling function.

    >>> gen <- createSystemRandom
    
    >>> sample uniform gen
    0.4208881170464097
    

  10. Prob :: (Gen (PrimState m) -> m a) -> Prob (m :: Type -> Type) a

    mwc-probability System.Random.MWC.Probability

    No documentation available.

Page 465 of many | Previous | Next