mgold/elm-random-pcg/1.3.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)