From 5eb6181b36ed95849f44724d731a3fe239de5a54 Mon Sep 17 00:00:00 2001 From: Flowers Safety <40meta@gmail.com> Date: Tue, 1 Dec 2020 01:43:18 +0600 Subject: [PATCH] Fix typo of runStateGen_ --- random.cabal | 2 +- test/Spec.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/random.cabal b/random.cabal index 118cd385d..d933bd455 100644 --- a/random.cabal +++ b/random.cabal @@ -42,7 +42,7 @@ description: >>> runStateGen_ pureGen (replicateM 10 . rollM) :: [Word] [1,1,3,2,4,5,3,4,6,2] . - The monadic adapter 'System.Random.Stateful.runGenState_' is used here to lift + The monadic adapter 'System.Random.Stateful.runStateGen_' is used here to lift the pure pseudo-random number generator @pureGen@ into the 'System.Random.Stateful.StatefulGen' context. . diff --git a/test/Spec.hs b/test/Spec.hs index 97380798c..dafeab642 100644 --- a/test/Spec.hs +++ b/test/Spec.hs @@ -139,7 +139,7 @@ floatingSpec px = ] runSpec :: TestTree -runSpec = testGroup "runGenState_ and runPrimGenIO_" +runSpec = testGroup "runStateGen_ and runPrimGenIO_" [ SC.testProperty "equal outputs" $ seeded $ \g -> monadic $ Run.runsEqual g ] -- | Create a StdGen instance from an Int and pass it to the given function.