Probably best to raise a function_clause here, rather than a possibly confusing badmatch error.