Pudu programming language
Menu
API reference

Std.Random.fromSeed

1 declaration

fn

fromSeed: UInt64 -> Std.Random.Generator

This is a callable function.

What it does

A generator started from a seed.

A seed of nought is replaced, because the algorithm below has nought as a

fixed point and would answer with it forever.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.

Back to Std.RandomSearch related declarations