Practice Test Geeks home

Picat Functions vs. Predicates 5

In Picat, `map(F, List) = [F(X) : X in List]` defines a higher-order map.
Why must `F` be a function reference rather than a predicate reference here?

Select your answer