Sun, 07 Jul 2024 09:50:30 UTC | login

Information for RPM ghc-random-1.2.1.1-5.fc40.riscv64.rpm

ID1180381
Nameghc-random
Version1.2.1.1
Release5.fc40
Epoch
Archriscv64
SummaryPseudo-random number generation
DescriptionThis package provides basic pseudo-random number generation, including the ability to split random number generators. == "System.Random": pure pseudo-random number interface In pure code, use 'System.Random.uniform' and 'System.Random.uniformR' from "System.Random" to generate pseudo-random numbers with a pure pseudo-random number generator like 'System.Random.StdGen'. As an example, here is how you can simulate rolls of a six-sided die using 'System.Random.uniformR': >>> let roll = uniformR (1, 6) :: RandomGen g => g -> (Word, g) >>> let rolls = unfoldr (Just . roll) :: RandomGen g => g -> [Word] >>> let pureGen = mkStdGen 42 >>> take 10 (rolls pureGen) :: [Word] [1,1,3,2,4,5,3,4,6,2] See "System.Random" for more details. == "System.Random.Stateful": monadic pseudo-random number interface In monadic code, use 'System.Random.Stateful.uniformM' and 'System.Random.Stateful.uniformRM' from "System.Random.Stateful" to generate pseudo-random numbers with a monadic pseudo-random number generator, or using a monadic adapter. As an example, here is how you can simulate rolls of a six-sided die using 'System.Random.Stateful.uniformRM': >>> let rollM = uniformRM (1, 6) :: StatefulGen g m => g -> m Word >>> let pureGen = mkStdGen 42 >>> runStateGen_ pureGen (replicateM 10 . rollM) :: [Word] [1,1,3,2,4,5,3,4,6,2] 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. The monadic interface can also be used with existing monadic pseudo-random number generators. In this example, we use the one provided in the <https://hackage.haskell.org/package/mwc-random mwc-random> package: >>> import System.Random.MWC as MWC >>> let rollM = uniformRM (1, 6) :: StatefulGen g m => g -> m Word >>> monadicGen <- MWC.create >>> replicateM 10 (rollM monadicGen) :: IO [Word] [2,3,6,6,4,4,3,1,5,4] See "System.Random.Stateful" for more details.
Build Time2024-02-15 13:13:26 GMT
Size185.06 KB
d286781d7c4e07e7c165a68e84b710e7
LicenseBSD-3-Clause
Buildrootf40-build-776541-128879
Provides
ghc-random = 1.2.1.1-5.fc40
ghc-random(riscv-64) = 1.2.1.1-5.fc40
libHSrandom-1.2.1.1-I0wUgAAbf0g3qHR3e8uT0o-ghc9.4.5.so()(64bit)
Obsoletes No Obsoletes
Conflicts No Conflicts
Requires
libHSarray-0.5.4.0-ghc9.4.5.so()(64bit)
libHSbase-4.17.1.0-ghc9.4.5.so()(64bit)
libHSbytestring-0.11.4.0-ghc9.4.5.so()(64bit)
libHSdeepseq-1.4.8.0-ghc9.4.5.so()(64bit)
libHSghc-bignum-1.3-ghc9.4.5.so()(64bit)
libHSghc-boot-th-9.4.5-ghc9.4.5.so()(64bit)
libHSghc-prim-0.9.0-ghc9.4.5.so()(64bit)
libHSmtl-2.2.2-ghc9.4.5.so()(64bit)
libHSpretty-1.1.3.6-ghc9.4.5.so()(64bit)
libHSsplitmix-0.1.0.4-7e8CibdlMRLAGh7KO5VlFe-ghc9.4.5.so()(64bit)
libHStemplate-haskell-2.19.0.0-ghc9.4.5.so()(64bit)
libHStransformers-0.5.6.2-ghc9.4.5.so()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.27)(64bit)
libgmp.so.10()(64bit)
libm.so.6()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1
rtld(GNU_HASH)
Recommends No Recommends
Suggests No Suggests
Supplements No Supplements
Enhances No Enhances
Files
1 through 6 of 6
Name ascending sort Size
/usr/lib/.build-id0.00 B
/usr/lib/.build-id/700.00 B
/usr/lib/.build-id/70/6ec5b9f36c193306120e08b0f76b2ba6b208cf90.00 B
/usr/lib64/ghc-9.4.5/lib/libHSrandom-1.2.1.1-I0wUgAAbf0g3qHR3e8uT0o-ghc9.4.5.so1.13 MB
/usr/share/licenses/ghc-random0.00 B
/usr/share/licenses/ghc-random/LICENSE2.87 KB
Component of
Page:
1 through 50 of 211 >>>
Buildroot ascending sort Created State
f40-build-776690-129001 2024-02-15 15:29:13 expired
f40-build-776693-129001 2024-02-15 15:29:48 expired
f40-build-776695-129001 2024-02-15 15:34:22 expired
f40-build-776698-129001 2024-02-15 15:35:38 expired
f40-build-776700-129001 2024-02-15 15:36:10 expired
f40-build-776701-129001 2024-02-15 15:36:20 expired
f40-build-776702-129001 2024-02-15 15:37:01 expired
f40-build-776703-129001 2024-02-15 15:38:10 expired
f40-build-776704-129001 2024-02-15 15:40:00 expired
f40-build-776706-129001 2024-02-15 15:41:46 expired
f40-build-776707-129001 2024-02-15 15:42:07 expired
f40-build-776708-129001 2024-02-15 15:43:30 expired
f40-build-776709-129001 2024-02-15 15:50:44 expired
f40-build-776710-129001 2024-02-15 15:58:15 expired
f40-build-776711-129001 2024-02-15 16:00:31 expired
f40-build-776712-129001 2024-02-15 16:00:51 expired
f40-build-776714-129001 2024-02-15 16:02:32 expired
f40-build-776715-129001 2024-02-15 16:04:38 expired
f40-build-776717-129001 2024-02-15 16:07:09 expired
f40-build-776718-129001 2024-02-15 16:11:06 expired
f40-build-776720-129001 2024-02-15 16:11:30 expired
f40-build-776721-129001 2024-02-15 16:13:15 expired
f40-build-776722-129001 2024-02-15 16:14:00 expired
f40-build-776723-129001 2024-02-15 16:15:08 expired
f40-build-776725-129001 2024-02-15 16:15:42 expired
f40-build-776726-129001 2024-02-15 16:16:20 expired
f40-build-776727-129001 2024-02-15 16:16:26 expired
f40-build-776729-129001 2024-02-15 16:22:47 expired
f40-build-776730-129003 2024-02-15 16:23:45 expired
f40-build-776731-129003 2024-02-15 16:31:27 expired
f40-build-776770-129081 2024-02-15 17:13:45 expired
f40-build-776771-129081 2024-02-15 17:13:57 expired
f40-build-776773-129081 2024-02-15 17:14:14 expired
f40-build-776778-129081 2024-02-15 17:20:29 expired
f40-build-776782-129081 2024-02-15 17:21:54 expired
f40-build-776803-129081 2024-02-15 17:41:32 expired
f40-build-776807-129081 2024-02-15 17:48:17 expired
f40-build-776858-129113 2024-02-16 07:50:24 expired
f40-build-776866-129117 2024-02-16 17:26:44 expired
f40-build-776893-129121 2024-02-16 19:01:10 expired
f40-build-776894-129121 2024-02-16 19:01:30 expired
f40-build-776895-129121 2024-02-16 19:01:55 expired
f40-build-776896-129121 2024-02-16 19:01:58 expired
f40-build-776897-129121 2024-02-16 19:02:23 expired
f40-build-776898-129121 2024-02-16 19:02:27 expired
f40-build-776900-129121 2024-02-16 19:02:31 expired
f40-build-776901-129121 2024-02-16 19:02:34 expired
f40-build-776902-129121 2024-02-16 19:02:37 expired
f40-build-776903-129121 2024-02-16 19:02:53 expired
f40-build-776904-129121 2024-02-16 19:02:54 expired