From d944842f1ee00d6e919d52b47798a7788477eb29 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sat, 18 Apr 2015 15:34:17 +0200 Subject: fp2-w1: RandomGetallen --- fp2/week1/camil/RandomGetallen.dcl | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 fp2/week1/camil/RandomGetallen.dcl (limited to 'fp2/week1/camil/RandomGetallen.dcl') 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] -- cgit v1.2.3