In Picat, what is the purpose of writing multiple clauses for the same predicate with different patterns?
-
A
To dispatch behavior based on the structure or value of arguments
-
B
To define overloaded arithmetic operators
-
C
To create parallel execution branches
-
D
To declare optional parameters