Sun, 07 Jul 2024 01:12:38 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 descending sort Created State
f40-build-766517-124128 2023-12-22 12:20:42 expired
f40-build-766485-124120 2023-12-22 11:18:29 expired
f40-build-766414-124114 2023-12-22 08:14:10 expired
f40-build-766180-123893 2023-12-21 14:47:03 expired
f40-build-766166-123891 2023-12-21 14:12:50 expired
f40-build-766125-123883 2023-12-21 13:19:13 expired
f40-build-766043-123879 2023-12-21 11:45:45 expired
f40-build-765807-123336 2023-12-21 01:52:42 expired
f40-build-765697-123548 2023-12-20 16:50:28 expired
f40-build-765683-123548 2023-12-20 16:21:57 expired
f40-build-765638-123534 2023-12-20 13:57:13 expired
f40-build-765302-123346 2023-12-19 18:29:35 expired
f40-build-765057-123322 2023-12-19 12:32:02 expired
f40-build-764629-123116 2023-12-18 18:30:16 expired
f40-build-764050-122657 2023-12-18 07:22:59 expired
f40-build-763903-122633 2023-12-17 16:34:46 expired
f40-build-763828-122633 2023-12-17 14:59:05 expired
f40-build-763512-122473 2023-12-17 10:48:19 expired
f40-build-763462-122465 2023-12-17 10:15:18 expired
f40-build-762987-122265 2023-12-15 16:23:57 expired
f40-build-762773-122103 2023-12-15 14:03:01 expired
f40-build-761147-121293 2023-12-13 15:15:09 expired
f40-build-760524-121099 2023-12-12 19:50:44 expired
f40-build-760120-120738 2023-12-12 08:23:07 expired
f40-build-760112-120720 2023-12-12 08:13:55 expired
f40-build-760059-120647 2023-12-12 06:01:48 expired
f40-build-760009-120595 2023-12-11 20:17:03 expired
f40-build-759927-120627 2023-12-11 18:48:45 expired
f40-build-759807-120585 2023-12-11 16:41:03 expired
f40-build-759439-120501 2023-12-11 10:10:24 expired
f40-build-759118-120288 2023-12-09 15:59:42 expired
f40-build-759008-120046 2023-12-09 12:08:50 expired
f40-build-758979-120034 2023-12-09 11:24:20 expired
f40-build-758862-119998 2023-12-09 08:05:12 expired
f40-build-758817-119974 2023-12-09 07:03:11 expired
f40-build-758434-119842 2023-12-09 00:36:47 expired
f40-build-758058-119596 2023-12-08 17:41:23 expired
f40-build-758043-119575 2023-12-08 17:18:16 expired
f40-build-757568-119355 2023-12-08 06:14:42 expired
f40-build-757091-119050 2023-12-07 15:03:13 expired
f40-build-755851-118201 2023-12-06 07:18:34 expired
f40-build-755406-118152 2023-12-05 22:36:57 expired
f40-build-755304-118126 2023-12-05 20:31:17 expired
f40-build-754350-117630 2023-12-05 01:19:09 expired
f40-build-753919-117443 2023-12-04 16:58:08 expired
f40-build-753853-117441 2023-12-04 14:48:43 expired
f40-build-753660-117297 2023-12-04 08:37:15 expired
f40-build-751822-116366 2023-11-30 13:54:38 expired
f40-build-751642-116204 2023-11-30 10:32:15 expired
f40-build-751601-116202 2023-11-30 09:48:04 expired