Skip to content

Instantly share code, notes, and snippets.

@shouya
Created August 30, 2019 10:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shouya/4def10e9a4c24fd4020437cccbac9415 to your computer and use it in GitHub Desktop.
Save shouya/4def10e9a4c24fd4020437cccbac9415 to your computer and use it in GitHub Desktop.
quick & dirty PRNG
rnd = 123:map (\x -> (1664525 * x + 1013904223) `mod` 65536) rnd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment