An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

random

This package provides basic pseudo-random number generation, including the ability to split random number generators. 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: See System.Random for more details. 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: 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 mwc-random package: See System.Random.Stateful for more details.

Ecosystem
hackage.haskell.org
Latest Release
1.3.1
11 months ago
Versions
15
Downloads
438,414 total
Dependent Packages
283
Dependent Repos
5,963
breve 0.5.1.0
Breve is a web application that provides a simple interface to shortening long urls creating link...
20 versions - Latest release: over 1 year ago - 13.7 thousand downloads total - 1 maintainer
aivika-distributed 1.5.1
25 versions - Latest release: over 1 year ago - 15.8 thousand downloads total - 1 maintainer
aivika-transformers 6.1.1
27 versions - Latest release: over 1 year ago - 5 dependent packages - 19.7 thousand downloads total - 1 maintainer
aivika 6.1.1
53 versions - Latest release: over 1 year ago - 7 dependent packages - 4 dependent repositories - 42.7 thousand downloads total - 1 maintainer
aivika-branches 0.4.1
9 versions - Latest release: over 1 year ago - 5.02 thousand downloads total - 1 maintainer
Z-Data 2.0.1.0
This package provides array, slice and text operations
50 versions - Latest release: over 1 year ago - 3 dependent packages - 3 dependent repositories - 17.4 thousand downloads total - 70 stars on GitHub - 2 maintainers
grfn 1.0.0.1
grfn is a focused library -- an implementation of Adam Kalai's algorithm to get uniform pre-fact...
2 versions - Latest release: over 1 year ago - 131 downloads total - 0 stars on GitHub - 1 maintainer
hgraph 1.10.0.0
3 versions - Latest release: over 1 year ago - 447 downloads total - 1 maintainer
FiniteCategories 0.6.5.1
This package provides tools to create categories at the value level. This is different from the H...
17 versions - Latest release: almost 2 years ago - 1 dependent package - 931 downloads total - 1 stars on gitlab.utc.fr - 1 maintainer
language-dickinson 1.4.3.1
Dickinson is a language for generative (random) literature
25 versions - Latest release: almost 2 years ago - 1 dependent repositories - 6.21 thousand downloads total - 1 maintainer
cornelis 0.2.0.1
Please see the README on GitHub at https://github.com/isovector/cornelis#readme
2 versions - Latest release: almost 2 years ago - 1 dependent package - 138 downloads total - 168 stars on GitHub - 1 maintainer
Top 3.9% on hackage.haskell.org
uuid-types 1.0.6
A Haskell library for creating, printing and parsing UUIDs
8 versions - Latest release: almost 2 years ago - 24 dependent packages - 163 dependent repositories - 130 thousand downloads total - 61 stars on GitHub - 3 maintainers
newsynth 0.4.1.0
12 versions - Latest release: almost 2 years ago - 1 dependent package - 1 dependent repositories - 9.99 thousand downloads total - 1 maintainer
Top 9.2% on hackage.haskell.org
synthesizer-core 0.8.4
31 versions - Latest release: almost 2 years ago - 5 dependent packages - 13 dependent repositories - 22.3 thousand downloads total - 1 maintainer
hsshellscript 3.6.4
A Haskell-library for tasks which are usually done in shell scripts. This includes parsing comman...
19 versions - Latest release: almost 2 years ago - 1 dependent package - 17 dependent repositories - 12.5 thousand downloads total - 1 maintainer
gibberish 3.0.0.0
Generates pronounceable passwords that are easy-to-remember and hard-to-guess.
1 version - Latest release: almost 2 years ago - 1 dependent package - 73 downloads total - 14 stars on GitHub - 1 maintainer
g2 0.2.0.0
A Haskell symbolic execution engine. For details, please see: https://github.com/BillHallahan/G2
3 versions - Latest release: almost 2 years ago - 1 dependent package - 2 dependent repositories - 1.04 thousand downloads total - 1 maintainer
risk-weaver 0.1.0.2
3 versions - Latest release: almost 2 years ago - 1 dependent package - 197 downloads total - 1 maintainer
obdd 0.9.0
pure Haskell implementation of reduced ordered binary decision diagrams
15 versions - Latest release: almost 2 years ago - 2 dependent repositories - 10.8 thousand downloads total - 11 stars on GitHub - 1 maintainer
monad-bayes 1.3.0
A library for probabilistic programming using probability monads. The emphasis is on composition ...
12 versions - Latest release: about 2 years ago - 2 dependent packages - 5 dependent repositories - 1.98 thousand downloads total - 439 stars on GitHub - 2 maintainers
GenSmsPdu 0.2.0.0
2 versions - Latest release: about 2 years ago - 1 dependent package - 1.49 thousand downloads total - 0 stars on GitHub - 2 maintainers
ansi-terminal-game 1.9.3.0
Library which aims to replicate standard 2d game functions (blit, ticks, timers, etc.) in a termi...
35 versions - Latest release: about 2 years ago - 2 dependent packages - 7 dependent repositories - 11.7 thousand downloads total - 1 maintainer
stamina 0.1.0.3
[Index] [Quick Jump] Package maintainers For package maintainers and hackage trustees Candid...
4 versions - Latest release: about 2 years ago - 1 dependent package - 332 downloads total - 49 stars on GitHub - 1 maintainer
tracing 0.0.7.4
An OpenTracing-compliant, simple, and extensible distributed tracing library.
20 versions - Latest release: about 2 years ago - 2 dependent packages - 8 dependent repositories - 7.3 thousand downloads total - 24 stars on GitHub - 1 maintainer
servant-cli 0.1.1.0 💰
Parse command line arguments into a servant client, from a servant API, using optparse-applicativ...
5 versions - Latest release: about 2 years ago - 1 dependent package - 1 dependent repositories - 1.55 thousand downloads total - 28 stars on GitHub - 1 maintainer
monomer 1.6.0.1
Monomer is an easy to use, cross platform, GUI library for writing native Haskell applications. ...
14 versions - Latest release: about 2 years ago - 4 dependent packages - 14 dependent repositories - 2.97 thousand downloads total - 625 stars on GitHub - 1 maintainer
glirc 2.40.1
Console IRC client glirc is a console IRC client with an emphasis on providing dynamic views int...
54 versions - Latest release: about 2 years ago - 1 dependent package - 36.4 thousand downloads total - 165 stars on GitHub - 1 maintainer
moffy-samples-events 0.2.2.5
Please see the README on GitHub at https://github.com/YoshikuniJujo/moffy-samples-events#readme
9 versions - Latest release: about 2 years ago - 3 dependent packages - 1 dependent repositories - 577 downloads total - 0 stars on GitHub - 1 maintainer
servant-aeson-generics-typescript 0.0.0.2
This project leveratges aeson-generics-typescript to generate type safe API bindings in TypeScrip...
2 versions - Latest release: about 2 years ago - 167 downloads total - 1 maintainer
IPv6Addr 2.0.6
Library to deal with IPv6 address text representations, canonization and manipulations.
34 versions - Latest release: about 2 years ago - 2 dependent packages - 37 dependent repositories - 20 thousand downloads total - 4 stars on GitHub - 1 maintainer
Top 0.9% on hackage.haskell.org
websockets 0.13.0.0
83 versions - Latest release: about 2 years ago - 43 dependent packages - 466 dependent repositories - 119 thousand downloads total - 1 maintainer
chiasma 0.10.1.0
See https://hackage.haskell.org/package/chiasma/docs/Chiasma.html
4 versions - Latest release: about 2 years ago - 1 dependent package - 5 dependent repositories - 1.04 thousand downloads total - 7 stars on GitHub - 1 maintainer
linear-programming 0.0.1
3 versions - Latest release: about 2 years ago - 3 dependent packages - 350 downloads total - 1 maintainer
moffy-samples-gtk3-run 0.1.0.7
Please see the README on GitHub at https://github.com/YoshikuniJujo/moffy-samples-gtk3-run#readme
7 versions - Latest release: about 2 years ago - 2 dependent packages - 462 downloads total - 0 stars on GitHub - 1 maintainer
moffy-samples-gtk4-run 0.2.1.3
Please see the README on GitHub at https://github.com/YoshikuniJujo/moffy-samples-gtk4-run#readme
6 versions - Latest release: about 2 years ago - 1 dependent package - 2 dependent repositories - 363 downloads total - 0 stars on GitHub - 1 maintainer
aeson-generics-typescript 0.0.0.1
This project uses GHC.Generics to generate TypeScript type definitions that match the Generic Ase...
1 version - Latest release: about 2 years ago - 1 dependent package - 97 downloads total - 1 maintainer
owoify-hs 1.1.0.0
Please see the README on GitHub at https://github.com/deadshot465/owoify-hs#readme
3 versions - Latest release: over 2 years ago - 1 dependent package - 1 dependent repositories - 306 downloads total - 0 stars on GitHub - 1 maintainer
type-set 0.1.0.0
Please see the README on GitHub at https://github.com/YoshikuniJujo/type-set#readme
1 version - Latest release: over 2 years ago - 5 dependent packages - 159 downloads total - 0 stars on GitHub - 1 maintainer
random-cycle 0.1.2.0
A Haskell library for efficient uniform random sampling of cycle partition graphs on sets of vert...
4 versions - Latest release: over 2 years ago - 288 downloads total - 1 maintainer
HasChor 0.1.0.1
HasChor is a library for functional choreographic programming in Haskell. See the README.md for m...
1 version - Latest release: over 2 years ago - 1 dependent package - 88 downloads total - 1 maintainer
finite-fields 0.2.0.1
arithmetic in (small) finite fields
3 versions - Latest release: over 2 years ago - 1 dependent repositories - 525 downloads total - 1 stars on GitHub - 1 maintainer
Top 8.8% on hackage.haskell.org
language-puppet 1.5.1
This is a set of tools that is supposed to fill all your Puppet needs : syntax checks, catalog co...
88 versions - Latest release: over 2 years ago - 1 dependent package - 17 dependent repositories - 59.8 thousand downloads total - 2 maintainers
laminar 0.1.0.1
2 versions - Latest release: over 2 years ago - 131 downloads total - 1 maintainer
list-shuffle 1.0.0
List shuffling and sampling with optimal asymptotic time and space complexity using the imperativ...
2 versions - Latest release: over 2 years ago - 245 downloads total - 1 stars on GitHub - 1 maintainer
Chart-tests 1.9.4
A 2D charting library for haskell
2 versions - Latest release: over 2 years ago - 623 downloads total - 438 stars on GitHub - 1 maintainer
ulid-tight 0.1
ulid-tight is one implementation of ULID. The data type Ulid consumes only 128-bit.
1 version - Latest release: over 2 years ago - 82 downloads total - 0 stars on GitHub - 1 maintainer
FiniteCategoriesGraphViz 0.2.0.0
A way to visualize finite categories of the package FiniteCategories thanks to GraphViz. See Fini...
2 versions - Latest release: over 2 years ago - 128 downloads total - 0 stars on gitlab.utc.fr - 1 maintainer
fec 0.2.0
zfec -- an efficient, portable erasure coding tool
3 versions - Latest release: over 2 years ago - 2 dependent packages - 3 dependent repositories - 2.64 thousand downloads total - 412 stars on GitHub - 3 maintainers
betris 0.2.3.1
The game of tetris for braille display users, implemented using unicode braille rotated 90 degree...
10 versions - Latest release: over 2 years ago - 1 dependent package - 3.77 thousand downloads total - 12 stars on GitHub - 1 maintainer
servant-multipart-client 0.12.2
Support for file uploads in multipart/form-data for servant
2 versions - Latest release: over 2 years ago - 6 dependent packages - 11 dependent repositories - 3.07 thousand downloads total - 40 stars on GitHub - 9 maintainers
Top 7.3% on hackage.haskell.org
HPDF 1.6.2 💰
A PDF library with support for several pages, page transitions, outlines, annotations, compressio...
25 versions - Latest release: over 2 years ago - 4 dependent packages - 29 dependent repositories - 20.5 thousand downloads total - 12 stars on GitHub - 2 maintainers
Top 7.7% on hackage.haskell.org
random-source 0.3.0.13
Random number generation based on entropy sources able to produce a small but well-defined set of...
10 versions - Latest release: over 2 years ago - 7 dependent packages - 169 dependent repositories - 13.2 thousand downloads total - 43 stars on GitHub - 3 maintainers
wai-secure-cookies 0.1.0.8
wai-secure-cookies is a WAI middleware to automatically encrypt and sign cookies w/ specified key...
9 versions - Latest release: over 2 years ago - 1 dependent repositories - 3.12 thousand downloads total - 2 stars on GitHub - 1 maintainer
polysemy-zoo 0.8.2.0
Please see the README on GitHub at https://github.com/isovector/polysemy-zoo#readme
18 versions - Latest release: over 2 years ago - 4 dependent packages - 13 dependent repositories - 7.71 thousand downloads total - 70 stars on GitHub - 4 maintainers
morley-client 0.4.0
A client to interact with the Tezos blockchain, by use of the octez-node RPC and/or of the octez-...
9 versions - Latest release: over 2 years ago - 2 dependent packages - 4 dependent repositories - 875 downloads total - 18 stars on gitlab.com - 2 maintainers
eventstore 1.4.3
EventStore TCP Client https://eventstore.com
66 versions - Latest release: over 2 years ago - 27 dependent repositories - 43.9 thousand downloads total - 4 stars on GitHub - 1 maintainer
nekos-best 0.2.0.0
The Nekos.best API Wrapper in Haskell is a powerful and flexible tool designed to interact seamle...
2 versions - Latest release: over 2 years ago - 169 downloads total - 2 stars on GitHub - 1 maintainer
intricacy 0.8.2
A lockpicking-themed turn-based puzzle game on a hex grid. A series of preset puzzles serves as a...
30 versions - Latest release: over 2 years ago - 14.5 thousand downloads total - 1 maintainer
deriving-trans 0.9.1.0
Derive Instances for Monad Transformer Stacks
20 versions - Latest release: over 2 years ago - 1.83 thousand downloads total - 7 stars on GitHub - 1 maintainer
HangmanAscii 0.1.1.3
Terminal Hangman game.
5 versions - Latest release: over 2 years ago - 432 downloads total - 1 stars on GitHub - 1 maintainer
fudgets 0.18.4
Fudgets is a Graphical User Interface Toolkit built in Haskell on top of the X11 Windows system i...
4 versions - Latest release: over 2 years ago - 1 dependent package - 1 dependent repositories - 481 downloads total - 1 maintainer
core-telemetry 0.2.9.4
Opinionated Haskell Interoperability
29 versions - Latest release: over 2 years ago - 3 dependent packages - 2 dependent repositories - 3.55 thousand downloads total - 33 stars on GitHub - 1 maintainer
gev-lib 0.2.0.2
Distributional Quantities of the family of Extreme Value Distributions in Haskell
4 versions - Latest release: over 2 years ago - 285 downloads total - 0 stars on GitHub - 1 maintainer
ory-hydra-client 2.1.2
Client library for calling the ORY Hydra API based on http-client. host: localhost base path: h...
6 versions - Latest release: over 2 years ago - 1 dependent repositories - 966 downloads total - 0 stars on GitHub - 1 maintainer
Top 0.9% on hackage.haskell.org
QuickCheck 2.14.3
QuickCheck is a library for random testing of program properties. The programmer provides a speci...
65 versions - Latest release: almost 3 years ago - 246 dependent packages - 7,326 dependent repositories - 444 thousand downloads total - 755 stars on GitHub - 4 maintainers
instana-haskell-trace-sdk 0.10.2.0
Please also see the README on Github at https://github.com/instana/haskell-trace-sdk#readme
16 versions - Latest release: almost 3 years ago - 1 dependent package - 1 dependent repositories - 3.28 thousand downloads total - 2 maintainers
honeycomb 0.1.0.1 💰
Please see the README on GitHub at https://github.com/githubuser/honeycomb#readme
5 versions - Latest release: almost 3 years ago - 1 dependent package - 2 dependent repositories - 716 downloads total - 4 stars on GitHub - 1 maintainer
pcg-random 0.1.4.0
PCG is a family of simple fast space-efficient statistically good algorithms for random number ge...
13 versions - Latest release: almost 3 years ago - 1 dependent package - 15 dependent repositories - 11.9 thousand downloads total - 41 stars on GitHub - 1 maintainer
funcons-tools 0.2.0.15
10 versions - Latest release: almost 3 years ago - 1 dependent package - 1 dependent repositories - 4.95 thousand downloads total - 1 maintainer
Top 9.4% on hackage.haskell.org
rvar 0.3.0.2
A suite of Haskell libraries for representing, manipulating, and sampling random variables
9 versions - Latest release: almost 3 years ago - 1 dependent package - 148 dependent repositories - 12.7 thousand downloads total - 42 stars on GitHub - 3 maintainers
chart-svg 0.4.0
This package provides a charting library targetting SVG as the rendered output.
35 versions - Latest release: almost 3 years ago - 4 dependent packages - 2 dependent repositories - 4.28 thousand downloads total - 22 stars on GitHub - 1 maintainer
graph-trace 0.1.0.2
3 versions - Latest release: almost 3 years ago - 343 downloads total - 1 maintainer
less-arbitrary 0.1.8.0
Ever found non-terminating Arbitrary instance? Ever wondered what would be a runtime cost of part...
11 versions - Latest release: almost 3 years ago - 1 dependent repositories - 1.42 thousand downloads total - 0 stars on GitHub - 1 maintainer
polysemy-db 0.0.1.0
1 version - Latest release: about 3 years ago - 4 dependent packages - 1 dependent repositories - 124 downloads total - 1 maintainer
polysemy-account 0.2.0.0
See https://hackage.haskell.org/package/polysemy-account/docs/Polysemy-Account.html
2 versions - Latest release: about 3 years ago - 1 dependent package - 1 dependent repositories - 181 downloads total - 1 maintainer
hs-opentelemetry-awsxray 0.1.0.1
Please see README.md
2 versions - Latest release: about 3 years ago - 183 downloads total - 2 stars on GitHub - 6 maintainers
keelung 0.9.2
Please see the README on GitHub at https://github.com/btq-ag/keelung#readme
3 versions - Latest release: about 3 years ago - 1 dependent repositories - 242 downloads total - 53 stars on GitHub - 1 maintainer
megastore 0.1.1.1
Please see the README on GitHub at https://github.com/MilesLitteral/megastore/tree/release#readme
2 versions - Latest release: about 3 years ago - 1 dependent package - 219 downloads total - 0 stars on GitHub - 1 maintainer
Top 5.9% on hackage.haskell.org
operational 0.2.4.2
Implement monads by specifying instructions and their desired operational semantics.
18 versions - Latest release: about 3 years ago - 6 dependent packages - 181 dependent repositories - 32.4 thousand downloads total - 82 stars on GitHub - 1 maintainer
probability 0.2.8
The Library allows exact computation with discrete random variables in terms of their distributio...
15 versions - Latest release: about 3 years ago - 28 dependent repositories - 13.7 thousand downloads total - 1 maintainer
codeworld-api 0.8.1
16 versions - Latest release: about 3 years ago - 6 dependent repositories - 11.3 thousand downloads total - 2 maintainers
domaindriven 0.5.0
Please see the README on GitHub at https://github.com/tommyengstrom/domaindriven/tree/master/doma...
1 version - Latest release: about 3 years ago - 123 downloads total - 15 stars on GitHub - 1 maintainer
domaindriven-core 0.5.0
Please see the README on GitHub at https://github.com/tommyengstrom/domaindriven/tree/master/doma...
1 version - Latest release: about 3 years ago - 1 dependent package - 1 dependent repositories - 131 downloads total - 16 stars on GitHub - 1 maintainer
math-programming-tests 0.5.1
4 versions - Latest release: about 3 years ago - 1 dependent repositories - 542 downloads total - 1 maintainer
wedged 4
5 versions - Latest release: about 3 years ago - 2.84 thousand downloads total - 1 maintainer
cdp 0.0.2.0
A library for the Chrome Devtools Protocol (CDP). It provides access to Chrome, enabling tasks su...
3 versions - Latest release: about 3 years ago - 1 dependent package - 1 dependent repositories - 273 downloads total - 10 stars on GitHub - 1 maintainer
rhine 0.8.1
Rhine is a library for synchronous and asynchronous Functional Reactive Programming (FRP). It sep...
29 versions - Latest release: about 3 years ago - 4 dependent packages - 4 dependent repositories - 9.75 thousand downloads total - 1 maintainer
prob 0.1.1
Provides the Distribution monad, which describes discrete probability distributions.
2 versions - Latest release: about 3 years ago - 1 dependent repositories - 232 downloads total - 3 stars on GitHub - 1 maintainer
hmt 0.20
Haskell library for Music Theory
10 versions - Latest release: over 3 years ago - 1 dependent package - 11 dependent repositories - 8.34 thousand downloads total - 1 maintainer
hmt-base 0.20
Haskell music theory Base Library
1 version - Latest release: over 3 years ago - 1 dependent package - 10 dependent repositories - 152 downloads total - 1 maintainer
icepeak 1.0.0.0
Icepeak is a fast JSON document store with push notification support.
5 versions - Latest release: over 3 years ago - 1 dependent package - 1 thousand downloads total - 135 stars on GitHub - 3 maintainers
lambdabot-core 5.3.1
Lambdabot is an IRC bot written over several years by those on the #haskell IRC channel. Manage ...
14 versions - Latest release: over 3 years ago - 7 dependent packages - 21 dependent repositories - 8.41 thousand downloads total - 3 maintainers
lambdabot-novelty-plugins 5.3.1
14 versions - Latest release: over 3 years ago - 1 dependent package - 14 dependent repositories - 8.35 thousand downloads total - 3 maintainers
ONC-RPC 0.2
Tools and library for writing ONC (Sun) RPC clients and servers. Provides equivalent functionali...
2 versions - Latest release: over 3 years ago - 1 dependent package - 1 dependent repositories - 955 downloads total - 1 maintainer
dice 0.1.1
3 versions - Latest release: over 3 years ago - 2 dependent packages - 25 dependent repositories - 4.89 thousand downloads total - 3 maintainers
hanabi-dealer 0.15.1.1
23 versions - Latest release: over 3 years ago - 1 dependent package - 7.11 thousand downloads total - 1 maintainer
churros 0.1.6.0
The Churro library takes an opinionated approach to streaming by focusing on IO processes and all...
11 versions - Latest release: over 3 years ago - 1 dependent repositories - 1.74 thousand downloads total - 32 stars on GitHub - 1 maintainer
Top 1.6% on hackage.haskell.org
hedgehog 1.1.2
Hedgehog automatically generates a comprehensive array of test cases, exercising your software in...
28 versions - Latest release: over 3 years ago - 36 dependent packages - 505 dependent repositories - 49.1 thousand downloads total - 669 stars on GitHub - 2 maintainers
purebred-email 0.5.1
A fast email parsing library implemented in Haskell
15 versions - Latest release: over 3 years ago - 1 dependent package - 1 dependent repositories - 4.71 thousand downloads total - 26 stars on GitHub - 2 maintainers
Top 0.6% on hackage.haskell.org
yesod-core 1.6.23
API docs and the README are available at http://www.stackage.org/package/yesod-core
223 versions - Latest release: almost 4 years ago - 23 dependent packages - 1,191 dependent repositories - 232 thousand downloads total - 7 maintainers
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.

Filter
Links
Registry hackage.haskell.org
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/random
spec
License BSD-3-Clause
First Release over 18 years ago
Last Synced about 14 hours ago
Repository
Docker Dependents 2
Docker Downloads 89
Rankings on hackage.haskell.org
Overall Top 0.4%
Downloads Top 0.1%
Dependent packages Top 0.1%
Dependent repos Top 0.1%
Docker downloads Top 1.3%