Skip to content

Commit

Permalink
Fix typo of runStateGen_
Browse files Browse the repository at this point in the history
  • Loading branch information
unam3 committed Nov 30, 2020
1 parent db9b82f commit 5eb6181
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion random.cabal
Expand Up @@ -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.
.
Expand Down
2 changes: 1 addition & 1 deletion test/Spec.hs
Expand Up @@ -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.
Expand Down

0 comments on commit 5eb6181

Please sign in to comment.