We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C08/LogicCalculator.hs代码中,第57行的函数体有一处错误,可以尝试以下的测试样例:
C08/LogicCalculator.hs
ex5 :: Formula (Int, ()) ex5 = Exist [1, 2, 3] $ \n -> Body (n :=: Con 3) solutions ex5
代码应修改为:
solutions (Exist (x:xs) as) = [(x,fs) | fs <- solutions (as (Con x)), satisfiable (as (Con x))] ++ solutions (Exist xs as)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
C08/LogicCalculator.hs
代码中,第57行的函数体有一处错误,可以尝试以下的测试样例:代码应修改为:
The text was updated successfully, but these errors were encountered: