在 C 和 C++ 中,!
否定结果:
if( !( a == b ) )
在Scheme中,我发现只有
eq?
. “不等于”怎么说?或者我们必须明确地说(eq? #f (eq? expr expr))
最佳答案
方案有一个 not
,所以你可以这样做:(not (eq? expr1 expr2))
关于scheme - 你如何在 Scheme 中表达 bool 否定?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5750832/