summaryrefslogtreecommitdiff
path: root/files/practicum/RandomGetallen.icl
diff options
context:
space:
mode:
Diffstat (limited to 'files/practicum/RandomGetallen.icl')
-rw-r--r--files/practicum/RandomGetallen.icl20
1 files changed, 20 insertions, 0 deletions
diff --git a/files/practicum/RandomGetallen.icl b/files/practicum/RandomGetallen.icl
new file mode 100644
index 0000000..9d57268
--- /dev/null
+++ b/files/practicum/RandomGetallen.icl
@@ -0,0 +1,20 @@
+implementation module RandomGetallen
+
+import StdEnv, Random
+
+Start :: *World -> ([Int],*World)
+Start world
+# (rs,world) = getNewRandomSeed world
+= (shuffle [1..10] rs,world)
+
+random_n :: Int RandomSeed -> ([Int],RandomSeed)
+random_n ...
+
+random_inf :: RandomSeed -> [Int]
+random_inf ...
+
+iterateSt :: (s -> (a,s)) s -> [a]
+iterateSt ...
+
+shuffle :: [a] RandomSeed -> [a]
+shuffle ...