Upstream software project

haskell-random

Haskell random profiling library

About haskell-random

Haskell random profiling library

This project links 30 native package records across 7 recorded operating-system releases. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

Debian 12 (Bookworm): 3 package records; Debian 13 (Trixie): 3 package records; Fedora 43: 7 package records; Fedora 44: 7 package records; openSUSE Leap 15.6: 2 package records; openSUSE Leap 16.0: 4 package records; openSUSE Tumbleweed: 4 package records. Catalog coverage diagram, not an application screenshot.haskell-random: recorded package coverageDebian 12 (Bookworm)3 recordsDebian 13 (Trixie)3 recordsFedora 437 recordsFedora 447 recordsopenSUSE Leap 15.62 recordsopenSUSE Leap 16.04 recordsopenSUSE Tumbleweed4 records
OpenFactory diagram of linked package records. It is not an application screenshot.

Project identity

Project
haskell-random
Publisher
Not authoritatively mapped
Native package records
30
Operating systems
debian-12, debian-13, fedora-43, fedora-44, opensuse-leap-15-6, opensuse-leap-16-0, opensuse-tumbleweed
License expression
BSD-3-Clause
Source repository
Not reported

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

This 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.

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

Debian 12 (Bookworm)

  1. Package libghc-random-dev

    bookworm (Debian 12 (Bookworm)) (haskell): random number generator for Haskell

    1.2.1.1-2+b2: amd64 arm64

    Source: haskell-random

  2. Package libghc-random-doc

    bookworm (Debian 12 (Bookworm)) (doc): random number generator for Haskell; documentation

    1.2.1.1-2: all

    Source: haskell-random

  3. Package libghc-random-prof

    bookworm (Debian 12 (Bookworm)) (haskell): random number generator for Haskell; profiling libraries

    1.2.1.1-2+b2: amd64 arm64

    Source: haskell-random

Debian 13 (Trixie)

  1. Package libghc-random-dev

    trixie (Debian 13 (Trixie)) (haskell): random number generator for Haskell

    1.2.1.2-1+b1: amd64 arm64

    Source: haskell-random

  2. Package libghc-random-doc

    trixie (Debian 13 (Trixie)) (doc): random number generator for Haskell; documentation

    1.2.1.2-1: all

    Source: haskell-random

  3. Package libghc-random-prof

    trixie (Debian 13 (Trixie)) (haskell): random number generator for Haskell; profiling libraries

    1.2.1.2-1+b1: amd64 arm64

    Source: haskell-random

Fedora 43

  1. Package ghc-random

    43 (Fedora 43) (Unspecified): Pseudo-random number generation

    1.2.1.3-5.fc43: aarch64 x86_64

    Source: ghc-random

  2. Package ghc-random-devel

    43 (Fedora 43) (Unspecified): Haskell random library development files

    1.2.1.3-5.fc43: aarch64 x86_64

    Source: ghc-random

  3. Package ghc-random-doc

    43 (Fedora 43) (Unspecified): Haskell random library documentation

    1.2.1.3-5.fc43: noarch

    Source: ghc-random

  4. Package ghc-random-prof

    43 (Fedora 43) (Unspecified): Haskell random profiling library

    1.2.1.3-5.fc43: aarch64 x86_64

    Source: ghc-random

  5. Package ghc-splitmix-devel

    43 (Fedora 43) (Unspecified): Haskell splitmix library development files

    0.1.1-5.fc43: aarch64 x86_64

    Source: ghc-random

  6. Package ghc-splitmix-doc

    43 (Fedora 43) (Unspecified): Haskell splitmix library documentation

    0.1.1-5.fc43: noarch

    Source: ghc-random

  7. Package ghc-splitmix-prof

    43 (Fedora 43) (Unspecified): Haskell splitmix profiling library

    0.1.1-5.fc43: aarch64 x86_64

    Source: ghc-random

Fedora 44

  1. Package ghc-random

    44 (Fedora 44) (Unspecified): Pseudo-random number generation

    1.2.1.3-7.fc44: aarch64 x86_64

    Source: ghc-random

  2. Package ghc-random-devel

    44 (Fedora 44) (Unspecified): Haskell random library development files

    1.2.1.3-7.fc44: aarch64 x86_64

    Source: ghc-random

  3. Package ghc-random-doc

    44 (Fedora 44) (Unspecified): Haskell random library documentation

    1.2.1.3-7.fc44: noarch

    Source: ghc-random

  4. Package ghc-random-prof

    44 (Fedora 44) (Unspecified): Haskell random profiling library

    1.2.1.3-7.fc44: aarch64 x86_64

    Source: ghc-random

  5. Package ghc-splitmix-devel

    44 (Fedora 44) (Unspecified): Haskell splitmix library development files

    0.1.3.2-7.fc44: aarch64 x86_64

    Source: ghc-random

  6. Package ghc-splitmix-doc

    44 (Fedora 44) (Unspecified): Haskell splitmix library documentation

    0.1.3.2-7.fc44: noarch

    Source: ghc-random

  7. Package ghc-splitmix-prof

    44 (Fedora 44) (Unspecified): Haskell splitmix profiling library

    0.1.3.2-7.fc44: aarch64 x86_64

    Source: ghc-random

openSUSE Leap 15.6

  1. Package ghc-random

    leap-15.6 (openSUSE Leap 15.6) (Unspecified): Pseudo-random number generation

    1.2.1.1-150500.3.3.2: aarch64 ppc64le s390x x86_64

    Source: ghc-random

  2. Package ghc-random-devel

    leap-15.6 (openSUSE Leap 15.6) (Unspecified): Haskell random library development files

    1.2.1.1-150500.3.3.2: aarch64 ppc64le s390x x86_64

    Source: ghc-random

openSUSE Leap 16.0

  1. Package ghc-random

    leap-16.0 (openSUSE Leap 16.0) (Unspecified): Pseudo-random number generation

    1.2.1.2-bp160.1.11: aarch64 ppc64le x86_64

    Source: ghc-random

  2. Package ghc-random-devel

    leap-16.0 (openSUSE Leap 16.0) (Unspecified): Haskell random library development files

    1.2.1.2-bp160.1.11: aarch64 ppc64le x86_64

    Source: ghc-random

  3. Package ghc-random-doc

    leap-16.0 (openSUSE Leap 16.0) (Unspecified): Haskell random library documentation

    1.2.1.2-bp160.1.11: noarch

    Source: ghc-random

  4. Package ghc-random-prof

    leap-16.0 (openSUSE Leap 16.0) (Unspecified): Haskell random profiling library

    1.2.1.2-bp160.1.11: aarch64 ppc64le x86_64

    Source: ghc-random

openSUSE Tumbleweed

  1. Package ghc-random

    tumbleweed (openSUSE Tumbleweed) (Unspecified): Pseudo-random number generation

    1.3.1-1.8: x86_64

    Source: ghc-random

  2. Package ghc-random-devel

    tumbleweed (openSUSE Tumbleweed) (Unspecified): Haskell random library development files

    1.3.1-1.8: x86_64

    Source: ghc-random

  3. Package ghc-random-doc

    tumbleweed (openSUSE Tumbleweed) (Unspecified): Haskell random library documentation

    1.3.1-1.8: noarch

    Source: ghc-random

  4. Package ghc-random-prof

    tumbleweed (openSUSE Tumbleweed) (Unspecified): Haskell random profiling library

    1.3.1-1.8: x86_64

    Source: ghc-random

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.