Let\'s say I want to make a special case for a function that matches strings that start with the character \'Z\'. I could easily do it using pattern matching by doing someth
myfunc ('t' : 'o' : 'a' : 's' : 't' : 'e' : 'r' : restOfString)
As far as I am aware, there is no more succinct syntax than that.
You can of course also just check whether the string starts with toaster in a guard-clause or an if inside the function body.
if