diff options
Diffstat (limited to 'files/practicum/ZFZoek.icl')
-rw-r--r-- | files/practicum/ZFZoek.icl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/files/practicum/ZFZoek.icl b/files/practicum/ZFZoek.icl new file mode 100644 index 0000000..cc4c725 --- /dev/null +++ b/files/practicum/ZFZoek.icl @@ -0,0 +1,14 @@ +implementation module ZFZoek
+
+import StdEnv
+
+(??) infixl 9 :: ![a] !a -> Int | Eq a
+//(??) ...
+
+// Het resultaat moet True zijn.
+Start = [ [1,2,3,4,5,6] ?? 3
+ , [1,2,3,4,5,6] ?? 10
+ , ['Hello world'] ?? 'o'
+ ]
+ ==
+ [ 2, -1, 4 ]
|