It's not necessarily unsafe, just partial. For that matter, why isn't it a pattern match?