我正在学习haskell,我有一个问题得到一行代码的工作。错误提示是专门针对我的"/="操作符。有人能帮我正确使用吗?
谢谢。
e = filter ((x, y, _) -> (x `elem` ed) `(/=)` (y `elem` ve)) es
将/=
写成普通的中标运算符:
e = filter ((x, y, _) -> (x `elem` ed) /= (y `elem` ve)) es