Differences in pattern matching syntax?