Sat, 17 Aug 2024 16:04: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 descending sort Size
/usr/share/licenses/ghc-random/LICENSE2.87 KB
/usr/share/licenses/ghc-random0.00 B
/usr/lib64/ghc-9.4.5/lib/libHSrandom-1.2.1.1-I0wUgAAbf0g3qHR3e8uT0o-ghc9.4.5.so1.13 MB
/usr/lib/.build-id/70/6ec5b9f36c193306120e08b0f76b2ba6b208cf90.00 B
/usr/lib/.build-id/700.00 B
/usr/lib/.build-id0.00 B
Component of
Page:
1 through 50 of 230 >>>
Buildroot Created descending sort State
f41-build-835594-158577 2024-08-09 22:37:41 expired
f41-build-835305-158436 2024-08-09 17:45:05 expired
f41-build-834492-158259 2024-08-09 07:05:47 expired
f41-build-833896-157875 2024-08-08 20:32:45 expired
f41-build-833235-157833 2024-08-08 13:26:40 expired
f41-build-831817-157140 2024-08-07 16:28:32 expired
f41-build-831672-157034 2024-08-07 14:57:34 expired
f41-build-831569-157004 2024-08-07 13:37:51 expired
f41-build-830708-156680 2024-08-06 15:40:25 expired
f41-build-830707-156677 2024-08-06 15:40:21 expired
f41-build-830416-156466 2024-08-06 11:48:12 expired
f41-build-829896-156265 2024-08-05 18:47:10 expired
f41-build-828195-155539 2024-08-05 07:29:35 expired
f41-build-827948-155474 2024-08-05 05:55:20 expired
f41-build-827717-155311 2024-08-05 03:15:24 expired
f41-build-824617-154178 2024-07-31 17:13:13 expired
f41-build-820623-152278 2024-07-24 19:03:11 expired
f41-build-820554-152264 2024-07-24 17:12:24 expired
f41-build-819716-151847 2024-07-24 09:38:23 expired
f40-build-807747-145260 2024-04-17 13:01:57 expired
f40-build-807745-145260 2024-04-17 13:01:09 expired
f40-build-807736-145260 2024-04-17 12:56:55 expired
f40-build-807361-145185 2024-04-17 07:58:38 expired
f40-build-807304-145173 2024-04-17 06:38:10 expired
f40-build-806996-145155 2024-04-16 11:57:29 expired
f40-build-806739-145133 2024-04-16 08:27:45 expired
f40-build-806618-145129 2024-04-16 07:00:47 expired
f40-build-806565-145129 2024-04-16 06:18:54 expired
f40-build-806369-145125 2024-04-15 17:41:50 expired
f40-build-806354-144993 2024-04-15 16:44:03 expired
f40-build-805413-144749 2024-04-14 11:12:35 expired
f40-build-803683-144297 2024-04-12 10:08:09 expired
f40-build-803517-144261 2024-04-12 08:36:01 expired
f40-build-802081-143896 2024-04-11 08:55:05 expired
f40-build-802065-143896 2024-04-11 08:47:34 expired
f40-build-802061-143892 2024-04-11 08:44:52 expired
f40-build-802057-143892 2024-04-11 08:44:15 expired
f40-build-801916-143874 2024-04-11 07:25:20 expired
f40-build-801598-143795 2024-04-10 18:25:04 expired
f40-build-800949-143643 2024-04-10 10:45:06 expired
f40-build-800936-143637 2024-04-10 10:37:16 expired
f40-build-800333-142890 2024-03-29 11:03:56 expired
f40-build-800290-142886 2024-03-29 10:43:36 expired
f40-build-799154-142138 2024-03-27 17:09:24 expired
f40-build-796576-140336 2024-03-22 23:11:08 expired
f40-build-796151-140456 2024-03-22 15:04:50 expired
f40-build-795715-140214 2024-03-22 12:03:34 expired
f40-build-794162-139322 2024-03-21 05:59:54 expired
f40-build-793392-138816 2024-03-20 08:55:08 expired
f40-build-793311-138800 2024-03-20 07:56:12 expired