{"id":222717,"name":"random","ecosystem":"hackage","description":"This package provides basic pseudo-random number generation, including the\nability to split random number generators.\n\nIn pure code, use System.Random.uniform and System.Random.uniformR from\nSystem.Random to generate pseudo-random numbers with a pure pseudo-random\nnumber generator like System.Random.StdGen.\n\nAs an example, here is how you can simulate rolls of a six-sided die using\nSystem.Random.uniformR:\n\nSee System.Random for more details.\n\nIn monadic code, use System.Random.Stateful.uniformM and\nSystem.Random.Stateful.uniformRM from System.Random.Stateful to generate\npseudo-random numbers with a monadic pseudo-random number generator, or\nusing a monadic adapter.\n\nAs an example, here is how you can simulate rolls of a six-sided die using\nSystem.Random.Stateful.uniformRM:\n\nThe monadic adapter System.Random.Stateful.runStateGen_ is used here to lift\nthe pure pseudo-random number generator pureGen into the\nSystem.Random.Stateful.StatefulGen context.\n\nThe monadic interface can also be used with existing monadic pseudo-random\nnumber generators. In this example, we use the one provided in the\nmwc-random package:\n\nSee System.Random.Stateful for more details.","homepage":null,"licenses":"BSD-3-Clause","normalized_licenses":["BSD-3-Clause"],"repository_url":"","keywords_array":["bsd3","library","system","Propose Tags"],"namespace":null,"versions_count":15,"first_release_published_at":"2007-11-03T15:33:58.000Z","latest_release_published_at":"2025-04-04T14:25:46.000Z","latest_release_number":"1.3.1","last_synced_at":"2026-04-07T01:31:03.119Z","created_at":"2022-04-06T00:32:42.928Z","updated_at":"2026-04-07T01:31:03.119Z","registry_url":"https://hackage.haskell.org/package/random","install_command":"cabal install random","documentation_url":null,"metadata":{},"repo_metadata":null,"repo_metadata_updated_at":null,"dependent_packages_count":283,"downloads":438451,"downloads_period":"total","dependent_repos_count":5963,"rankings":{"downloads":0.062164453235377226,"dependent_repos_count":0.0734670810963549,"dependent_packages_count":0.1299802204012433,"stargazers_count":null,"forks_count":null,"docker_downloads_count":1.2884995761514553,"average":0.3885278327211077},"purl":"pkg:hackage/random","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/hackage/random","docker_dependents_count":2,"docker_downloads_count":89,"usage_url":"https://repos.ecosyste.ms/usage/hackage/random","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/hackage/random/dependencies","status":null,"funding_links":[],"critical":true,"issue_metadata":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/random/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/random/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/random/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/random/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/random/codemeta","maintainers":[{"uuid":"DominicSteinitz","login":"DominicSteinitz","name":null,"email":null,"url":null,"packages_count":28,"html_url":"https://hackage.haskell.org/user/DominicSteinitz","role":null,"created_at":"2022-11-14T19:26:25.008Z","updated_at":"2022-11-14T19:26:25.008Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/maintainers/DominicSteinitz/packages"},{"uuid":"Bodigrim","login":"Bodigrim","name":null,"email":null,"url":null,"packages_count":58,"html_url":"https://hackage.haskell.org/user/Bodigrim","role":null,"created_at":"2022-11-14T19:26:25.026Z","updated_at":"2022-11-14T19:26:25.026Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/maintainers/Bodigrim/packages"},{"uuid":"topos","login":"topos","name":null,"email":null,"url":null,"packages_count":41,"html_url":"https://hackage.haskell.org/user/topos","role":null,"created_at":"2022-11-14T19:26:25.034Z","updated_at":"2022-11-14T19:26:25.034Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/maintainers/topos/packages"},{"uuid":"lehins","login":"lehins","name":null,"email":null,"url":null,"packages_count":28,"html_url":"https://hackage.haskell.org/user/lehins","role":null,"created_at":"2022-11-14T19:26:25.019Z","updated_at":"2022-11-14T19:26:25.019Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/maintainers/lehins/packages"}]}