Sat, 13 Jul 2024 13:36:44 UTC | login

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

ID1097281
Nameghc-random
Version1.2.1.1
Release3.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 Time2023-11-17 15:21:57 GMT
Size184.62 KB
d7cb1601137f5434a8f5d9d39ea5ad7f
LicenseBSD-3-Clause
Buildrootf40-build-742493-110802
Provides
ghc-random = 1.2.1.1-3.fc40
ghc-random(riscv-64) = 1.2.1.1-3.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/630.00 B
/usr/lib/.build-id/63/0a3027a7320d2b65e4d0df9c92297338a7df0690.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:
<<< 51 through 100 of 269 >>>
Buildroot ascending sort Created State
f40-build-743398-111187 2023-11-18 18:50:50 expired
f40-build-743399-111187 2023-11-18 18:51:35 expired
f40-build-743401-111187 2023-11-18 18:54:33 expired
f40-build-743402-111187 2023-11-18 18:54:42 expired
f40-build-743404-111187 2023-11-18 18:57:32 expired
f40-build-743405-111187 2023-11-18 18:58:02 expired
f40-build-743406-111187 2023-11-18 18:59:43 expired
f40-build-743551-111265 2023-11-18 23:52:16 expired
f40-build-743568-111265 2023-11-19 00:38:16 expired
f40-build-743569-111265 2023-11-19 00:44:50 expired
f40-build-743592-111265 2023-11-19 02:58:23 expired
f40-build-743596-111265 2023-11-19 03:48:40 expired
f40-build-743597-111265 2023-11-19 03:56:10 expired
f40-build-743599-111265 2023-11-19 04:16:04 expired
f40-build-743600-111265 2023-11-19 04:25:07 expired
f40-build-743601-111265 2023-11-19 04:43:03 expired
f40-build-743602-111265 2023-11-19 04:46:15 expired
f40-build-743603-111265 2023-11-19 05:22:26 expired
f40-build-743605-111265 2023-11-19 05:31:29 expired
f40-build-743606-111265 2023-11-19 05:48:34 expired
f40-build-743607-111265 2023-11-19 06:01:15 expired
f40-build-743608-111265 2023-11-19 06:13:20 expired
f40-build-743612-111265 2023-11-19 06:41:32 expired
f40-build-743748-111387 2023-11-19 12:32:50 expired
f40-build-743753-111387 2023-11-19 12:36:20 expired
f40-build-743756-111387 2023-11-19 12:37:52 expired
f40-build-743784-111387 2023-11-19 12:58:31 expired
f40-build-743809-111387 2023-11-19 13:11:11 expired
f40-build-743812-111387 2023-11-19 13:13:32 expired
f40-build-743813-111387 2023-11-19 13:13:33 expired
f40-build-743818-111387 2023-11-19 13:19:44 expired
f40-build-743821-111387 2023-11-19 13:24:56 expired
f40-build-743823-111387 2023-11-19 13:27:07 expired
f40-build-743829-111387 2023-11-19 13:33:53 expired
f40-build-743834-111413 2023-11-19 13:37:54 expired
f40-build-743842-111419 2023-11-19 13:44:14 expired
f40-build-743874-111413 2023-11-19 14:04:29 expired
f40-build-743894-111415 2023-11-19 14:15:44 expired
f40-build-744000-111445 2023-11-19 15:55:46 expired
f40-build-744001-111445 2023-11-19 16:03:39 expired
f40-build-744002-111445 2023-11-19 16:04:40 expired
f40-build-744006-111445 2023-11-19 16:07:45 expired
f40-build-744016-111445 2023-11-19 16:17:59 expired
f40-build-744023-111445 2023-11-19 16:22:51 expired
f40-build-744067-111533 2023-11-19 16:53:37 expired
f40-build-744076-111533 2023-11-19 16:59:28 expired
f40-build-744094-111535 2023-11-19 17:11:58 expired
f40-build-744197-111535 2023-11-19 18:14:02 expired
f40-build-744206-111537 2023-11-19 18:19:59 expired
f40-build-744208-111537 2023-11-19 18:21:35 expired