• In this example, the only difference between the two patterns is the guard expression, but that's enough for the compiler to differentiate them.

    这个例子里,两个模式唯一区别就是这个守卫表达式但是这样足够编译区分它们了。

    youdao

  • This case only succeeds if the accompanying guard expression (the if expression that follows it) succeeds, which will only happen for the first Person but not the second.

    这个case只有在同时提供的起保护作用的表达式(跟在后边的if表达式)成功时才成功,只有第一Person这样第二个就不会了。

    youdao

  • This case only succeeds if the accompanying guard expression (the if expression that follows it) succeeds, which will only happen for the first Person but not the second.

    这个case只有在同时提供的起保护作用的表达式(跟在后边的if表达式)成功时才成功,只有第一Person这样第二个就不会了。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定