Commits

Aleksey Khudyakov committed 983b451

Documentation fix

  • Participants
  • Parent commits ecd4927

Comments (0)

Files changed (1)

System/Random/MWC/Distributions/Monad.hs

 {-# INLINE chiSquare #-}
 
 -- | Random variate generator for the geometric distribution,
--- computing the number of failures before success. Supports [0..].
+-- computing the number of failures before success. Distribution's
+-- support is [0..].
 geometric0 :: MonadPrim m
            => Double        -- ^ /p/ success probability lies in (0,1]
            -> Rand m Int
 {-# INLINE geometric0 #-}
 
 -- | Random variate generator for geometric distribution for number of
--- trials. Supports [1..] (i.e. just 'geometric0' shifted by 1).
+-- trials. Distribution's support is [1..] (i.e. just 'geometric0' shifted by 1).
 geometric1 :: MonadPrim m
            => Double -- ^ /p/ success probability lies in (0,1]
            -> Rand m Int