1. Bryan O'Sullivan
  2. mwc-random

Commits

Bryan O'Sullivan  committed da26088

Fix haddocks

  • Participants
  • Parent commits bdee89e
  • Branches default

Comments (0)

Files changed (1)

File System/Random/MWC/Distributions.hs

View file
                 else return $! if neg then x - r else r - x
 
 
--- | Generate exponentially distributed random variate.
+-- | Generate an exponentially distributed random variate.
 exponential :: PrimMonad m
             => Double            -- ^ Scale parameter
             -> Gen (PrimState m) -- ^ Generator
       a2 = 1 / sqrt(9 * a1)
 
 
--- | Random variate generator for chi square distribution.
+-- | Random variate generator for the chi square distribution.
 chiSquare :: PrimMonad m
           => Int                -- ^ Number of degrees of freedom
           -> Gen (PrimState m)  -- ^ Generator