mgold/elm-random-pcg/2.1.0

NOTE: this package is not compatible with Elm 0.19.1

Random.Pcg.Interop

Provides a function to create a PCG seed from a seed in the core library. This is useful for library writers who need a splittable or most robust PRNG but don't want to require client code to use the PCG implementation.

import Random
import Random.Pcg
import Random.Pcg.Interop as Random.Pcg
fission : Seed -> ( Seed, Seed )

Use the core library's random seed to produce a PCG random seed.

It seems that the package website doesn't show modules in type annotations, so here it is in full:

fission : Random.Seed -> (Random.Pcg.Seed, Random.Seed)