Created
December 15, 2011 12:54
-
-
Save lalala/1480997 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nextp :: Integer -> Integer -> Integer -> Integer -> [Integer] | |
nextp r a b m = | |
r1 : (nextp r1 a b m) | |
where | |
r1 = mod (a*r+b) m | |
metapung :: (Integer -> Integer) -> Integer -> [Integer] | |
metapung f seed = | |
n1 : (metapung f n1) | |
where | |
n1 = (f seed) | |
rekursion r = ( 5 * r + 7) `mod` 9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice can Edit!