Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
conde :: [Predicate] -> Predicate Source
Disjunction of many clauses. This can be thought as a logical switch.
program :: [Predicate] -> Predicate Source
Conjuction of many clauses. Think of this as a sort of logical semicolon.
runN :: Int -> (Term -> Predicate) -> [(Term, [Neq])] Source
Only grab n solutions. Useful for when the full logic program might not terminate. Or takes its sweet time to do so.