diff options
author | Camil Staps | 2016-02-02 19:24:50 +0100 |
---|---|---|
committer | Camil Staps | 2016-02-02 19:24:50 +0100 |
commit | a7d7542dc646a5fd124ef71e71ce260889f1701b (patch) | |
tree | 04ed89503bbb3cc9933273a1326a53ca724c3492 /1415/files/practicum/LijstGenerator.icl | |
parent | week6 camil: working positioning of lines by putting empties at left and righ... (diff) |
Diffstat (limited to '1415/files/practicum/LijstGenerator.icl')
-rw-r--r-- | 1415/files/practicum/LijstGenerator.icl | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/1415/files/practicum/LijstGenerator.icl b/1415/files/practicum/LijstGenerator.icl new file mode 100644 index 0000000..6c3a230 --- /dev/null +++ b/1415/files/practicum/LijstGenerator.icl @@ -0,0 +1,29 @@ +implementation module LijstGenerator
+
+import StdEnv
+
+allemaal :: // meest algemene type
+allemaal x = ...
+
+vanaf :: // meest algemene type
+vanaf x = ...
+
+vanaf_met_stap :: // meest algemene type
+vanaf_met_stap x z = ...
+
+vanaf_tot :: // meest algemene type
+vanaf_tot x y = ...
+
+vanaf_tot_met_stap :: // meest algemene type
+vanaf_tot_met_stap x y z = ...
+
+Start = ( take 10 (allemaal 'H')
+ , '\n'
+ , take 26 (vanaf 'a')
+ , '\n'
+ , take 10 (vanaf_met_stap 0 -2)
+ , '\n'
+ , vanaf_tot 0 10
+ , '\n'
+ , vanaf_tot_met_stap 0 -10 -2
+ )
|