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 /files/practicum/MatchStrings.icl | |
parent | week6 camil: working positioning of lines by putting empties at left and righ... (diff) |
Diffstat (limited to 'files/practicum/MatchStrings.icl')
-rw-r--r-- | files/practicum/MatchStrings.icl | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/files/practicum/MatchStrings.icl b/files/practicum/MatchStrings.icl deleted file mode 100644 index 3519eb7..0000000 --- a/files/practicum/MatchStrings.icl +++ /dev/null @@ -1,35 +0,0 @@ -implementation module MatchStrings
-
-import StdEnv
-
-head :: String -> Char
-head s = abort "head is nog niet geimplementeerd"
-
-tail :: String -> String
-tail s = abort "tail is nog niet geimplementeerd"
-
-is_gelijk :: String String -> Bool
-is_gelijk a b = abort "is_gelijk is nog niet geimplementeerd"
-
-is_deelstring :: String String -> Bool
-is_deelstring a b = abort "is_deelstring is nog niet geimplementeerd"
-
-is_deel :: String String -> Bool
-is_deel a b = abort "is_deel is nog niet geimplementeerd"
-
-is_match :: String String -> Bool
-is_match a b = abort "is_match is nog niet geimplementeerd"
-
-//Start = (head pink_floyd, tail pink_floyd)
-//Start = is_gelijk "" " "
-//Start = is_deelstring "there" pink_floyd
-//Start = is_deelstring "there" marillion
-//Start = is_deel "there" marillion
-//Start = is_deel "she and her" pink_floyd
-//Start = is_deel radiohead pink_floyd
-//Start = is_match "*.here*.here*." pink_floyd
-//Start = is_match ".here.here." pink_floyd
-
-pink_floyd = "Is there anybody in there?"
-marillion = "Just for the record"
-radiohead = "There there"
|