In Picat, what happens when unification of two terms fails during pattern matching in a clause head?
-
A
The program throws a runtime exception
-
B
Picat backtracks and tries the next matching clause
-
C
The variable is bound to a default value
-
D
The predicate succeeds with a partial match