diff options
author | Mart Lubbers | 2015-02-06 08:39:37 +0100 |
---|---|---|
committer | Mart Lubbers | 2015-02-06 08:39:37 +0100 |
commit | 379b6353396ca2401241d714733d570629835ffe (patch) | |
tree | 26652c854a79c627b5f50bc8ac26f9b84f8e196d /files/practicum/LijstGenerator2.icl | |
parent | Merge branch 'master' of https://github.com/dopefishh/fp1 (diff) |
added practicum files, updated gitignore
Diffstat (limited to 'files/practicum/LijstGenerator2.icl')
-rw-r--r-- | files/practicum/LijstGenerator2.icl | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/files/practicum/LijstGenerator2.icl b/files/practicum/LijstGenerator2.icl new file mode 100644 index 0000000..8dd9761 --- /dev/null +++ b/files/practicum/LijstGenerator2.icl @@ -0,0 +1,29 @@ +implementation module LijstGenerator2
+
+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
+ )
|