Skip to content

Commit 94a4736

Browse files
authored
replace flaky link
1 parent 185bef7 commit 94a4736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/RandomNumbers/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ However, functions in Roc are guaranteed to return the same answer when given th
99
But this also means something like `Math.random` couldn’t possibly be a valid Roc function!
1010
So, we use a different approach to generate random numbers in Roc.
1111

12-
This example uses a `Generator` which generates pseudorandom numbers using an initial seed value and the [PCG algorithm](https://www.pcg-random.org/).
12+
This example uses a `Generator` which generates pseudorandom numbers using an initial seed value and the [PCG algorithm](https://en.wikipedia.org/wiki/Permuted_congruential_generator).
1313
If the same seed is provided, then the same number sequence will be generated every time!
1414
The appearance of randomness comes entirely from deterministic math being done on that initial seed.
1515
The same is true of `Math.random()`, except that `Math.random()` silently chooses a seed for you at runtime.

0 commit comments

Comments
 (0)