Questions tagged «conditionals»

2
有条件的“和”与“何时”
这是对该答案的评论的后续。以下代码似乎是等效的: (and a b) (when a b) 当然,and让你把更多的条件:(and a b c d)手段(when (and a b c) d) 我倾向于when只用来表示分支。有实际差异吗?使用其中一个更好吗? 我手头没有Emacs的C源代码;and是C函数;when是一个扩展为的宏if,它本身是C函数。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.