summaryrefslogtreecommitdiff
path: root/fp2/week1/camil/RandomGetallen.dcl
diff options
context:
space:
mode:
authorCamil Staps2015-04-18 15:34:17 +0200
committerCamil Staps2015-04-18 15:34:17 +0200
commitd944842f1ee00d6e919d52b47798a7788477eb29 (patch)
tree18e9d2f509f5ee837b7c1e559d8a9755592ef86e /fp2/week1/camil/RandomGetallen.dcl
parentAdded new version opdrachtenbundel (diff)
fp2-w1: RandomGetallen
Diffstat (limited to 'fp2/week1/camil/RandomGetallen.dcl')
-rw-r--r--fp2/week1/camil/RandomGetallen.dcl7
1 files changed, 7 insertions, 0 deletions
diff --git a/fp2/week1/camil/RandomGetallen.dcl b/fp2/week1/camil/RandomGetallen.dcl
new file mode 100644
index 0000000..2ca4b27
--- /dev/null
+++ b/fp2/week1/camil/RandomGetallen.dcl
@@ -0,0 +1,7 @@
+definition module RandomGetallen
+
+import Random
+
+random_n :: Int RandomSeed -> ([Int],RandomSeed)
+random_inf :: RandomSeed -> [Int]
+shuffle :: [a] RandomSeed -> [a]