View Problem

Generate a repeatable random number sequence

Initialise a random number generator with a seed and generate five decimal values. Reset the seed and produce the same values.
rand := Random.makeSeeded(12345)
first := Int[,].fill(0,5).map { }

rand2 := Random.makeSeeded(12345)
second := Int[,].fill(0,5).map { }

Submit a new solution for fantom
There are 17 other solutions in additional languages (clojure, cpp, csharp, erlang ...)