summaryrefslogtreecommitdiff
path: root/files/practicum/ZFUpdateAt.icl
diff options
context:
space:
mode:
Diffstat (limited to 'files/practicum/ZFUpdateAt.icl')
-rw-r--r--files/practicum/ZFUpdateAt.icl8
1 files changed, 8 insertions, 0 deletions
diff --git a/files/practicum/ZFUpdateAt.icl b/files/practicum/ZFUpdateAt.icl
new file mode 100644
index 0000000..4059352
--- /dev/null
+++ b/files/practicum/ZFUpdateAt.icl
@@ -0,0 +1,8 @@
+implementation module ZFUpdateAt
+
+import StdEnv
+
+Start = updateAt2 300 42 [100,90 .. 0] == updateAt 300 42 [100,90 .. 0]
+
+updateAt2 :: !Int a ![a] -> [a]
+updateAt2 ...