Hoogle Search

Within LTS Haskell 24.36 (ghc-9.10.3)

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

  1. package mwc-probability

    Sampling function-based probability distributions. A simple probability distribution type, where distributions are characterized by sampling functions. This implementation is a thin layer over mwc-random, which handles RNG state-passing automatically by using a PrimMonad like IO or ST s under the hood. Examples Transform a distribution's support while leaving its density structure invariant:

    -- uniform over [0, 1] to uniform over [1, 2]
    fmap succ uniform
    
    Sequence distributions together using bind:
    -- a beta-binomial compound distribution
    beta 1 10 >>= binomial 10
    
    Use do-notation to build complex joint distributions from composable, 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
    

  2. package neat-interpolation

    Quasiquoter for neat and simple multiline text interpolation Quasiquoter for producing Text values with support for a simple interpolation of input values. It removes the excessive indentation from the input and accurately manages the indentation of all lines of the interpolated variables.

  3. package network-simple

    Simple network sockets usage patterns. This module exports functions that abstract simple network socket usage patterns. See the changelog.md file in the source distribution to learn about any important changes between versions.

  4. package numeric-prelude

    An experimental alternative hierarchy of numeric type classes The package provides an experimental alternative hierarchy of numeric type classes. The type classes are more oriented at mathematical structures and their methods come with laws that the instances must fulfill.

  5. package numhask

    A numeric class hierarchy. This package provides alternative numeric classes over Prelude. The numeric class constellation looks somewhat like:

    Usage

    >>> {-# LANGUAGE GHC2024 #-}
    
    >>> {-# LANGUAGE RebindableSyntax #-}
    
    >>> import NumHask.Prelude
    
    See NumHask for a detailed overview.

  6. package ordered-containers

    Set- and Map-like types that remember the order elements were inserted Set- and Map-like types that remember the order elements were inserted

  7. package parameterized-utils

    Classes and data structures for working with data-kind indexed types This package contains collection classes and type representations used for working with values that have a single parameter. It's intended for things like expression libraries where one wishes to leverage the Haskell type-checker to improve type-safety by encoding the object language type system into data kinds.

  8. package pipes-parse

    Parsing infrastructure for the pipes ecosystem pipes-parse builds upon the pipes library to provide shared parsing idioms and utilities:

    • Leftovers: Save unused input for later consumption
    • Leftover propagation: Leftovers are propagated backwards perfectly
    • Connect and Resume: Use StateT to save unused input for later
    • Termination Safety: Detect and recover from end of input
    Pipes.Parse contains the full documentation for this library. Read Pipes.Parse.Tutorial for an extensive tutorial.

  9. package pointed

    Pointed and copointed data Pointed and copointed data.

  10. package pointedlist

    A zipper-like comonad which works as a list, tracking a position. A PointedList tracks the position in a non-empty list which works similarly to a zipper. A current item is always required, and therefore the list may never be empty. A circular PointedList wraps around to the other end when progressing past the actual edge.

Page 48 of many | Previous | Next