Open idontgetoutmuch opened 3 years ago
-- |Sample a random variable in a \"functional\" style. Typical instantiations -- of @s@ are @System.Random.StdGen@ or @System.Random.Mersenne.Pure64.PureMT@. -- sample :: (Distribution d a, StatefulGen g m, MonadReader g m) => d t -> m t