Thu, 04 Jul 2024 09:30:22 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:
1 through 50 of 269 >>>
Buildroot descending sort Created State
f40-build-776635-128939 2024-02-15 14:36:50 expired
f40-build-776632-128929 2024-02-15 14:26:42 expired
f40-build-776620-128929 2024-02-15 14:14:42 expired
f40-build-776617-128929 2024-02-15 14:12:36 expired
f40-build-776607-128929 2024-02-15 13:42:16 expired
f40-build-776602-128929 2024-02-15 13:40:28 expired
f40-build-776597-128929 2024-02-15 13:38:09 expired
f40-build-776547-128889 2024-02-15 13:06:19 expired
f40-build-776542-128879 2024-02-15 12:50:33 expired
f40-build-776539-128863 2024-02-15 12:46:45 expired
f40-build-776522-128863 2024-02-15 12:28:58 expired
f40-build-776514-128863 2024-02-15 12:07:11 expired
f40-build-776512-128863 2024-02-15 12:05:53 expired
f40-build-776509-128863 2024-02-15 12:04:24 expired
f40-build-776504-128863 2024-02-15 12:01:53 expired
f40-build-776503-128863 2024-02-15 12:00:55 expired
f40-build-776501-128863 2024-02-15 11:57:45 expired
f40-build-776500-128863 2024-02-15 11:57:16 expired
f40-build-776499-128863 2024-02-15 11:57:11 expired
f40-build-776434-128831 2024-02-15 10:40:50 expired
f40-build-776430-128831 2024-02-15 10:40:23 expired
f40-build-776427-128831 2024-02-15 10:38:20 expired
f40-build-776425-128831 2024-02-15 10:36:18 expired
f40-build-776355-128763 2024-02-15 08:55:11 expired
f40-build-776354-128763 2024-02-15 08:55:09 expired
f40-build-776352-128763 2024-02-15 08:55:05 expired
f40-build-776351-128763 2024-02-15 08:55:04 expired
f40-build-776344-128763 2024-02-15 08:48:04 expired
f40-build-775902-128497 2024-02-13 09:10:03 expired
f40-build-770913-125883 2024-01-03 08:07:48 expired
f40-build-770521-125843 2024-01-02 15:43:55 expired
f40-build-770511-125843 2024-01-02 15:33:10 expired
f40-build-770507-125843 2024-01-02 15:28:04 expired
f40-build-770466-125843 2024-01-02 14:33:59 expired
f40-build-770409-125827 2024-01-02 13:04:25 expired
f40-build-770400-125825 2024-01-02 12:50:05 expired
f40-build-770390-125823 2024-01-02 12:38:04 expired
f40-build-770389-125825 2024-01-02 12:37:58 expired
f40-build-770387-125823 2024-01-02 12:36:13 expired
f40-build-770365-125821 2024-01-02 12:03:15 expired
f40-build-770364-125821 2024-01-02 12:02:39 expired
f40-build-770358-125821 2024-01-02 11:51:11 expired
f40-build-770357-125821 2024-01-02 11:49:50 expired
f40-build-770283-125817 2024-01-02 10:30:15 expired
f40-build-770266-125811 2024-01-02 10:10:39 expired
f40-build-770097-125734 2024-01-01 19:47:01 expired
f40-build-769923-125758 2024-01-01 13:36:18 expired
f40-build-768789-125374 2023-12-30 12:46:54 expired
f40-build-768781-125374 2023-12-30 09:15:16 expired
f40-build-768565-125344 2023-12-29 19:32:06 expired