Skip to content

Commit

Permalink
Try fixup doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
lehins committed Feb 3, 2024
1 parent 02e616d commit 6da645b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/System/Random/Seed.hs
Expand Up @@ -229,7 +229,8 @@ mkSeed ba = do
-- ====__Example__
--
-- >>> :set -XTypeApplications
-- >>> withSeed (nonEmptyToSeed (pure 2024) :: Seed StdGen) (random @Int)
-- >>> import System.Random
-- >>> withSeed (nonEmptyToSeed (pure 2024) :: Seed StdGen) (uniform @Int)
-- (1039666877624726199,Seed [0xe9, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00])
--
-- @since 1.3.0
Expand Down

0 comments on commit 6da645b

Please sign in to comment.