meta_predicate(MetaPredicate)
Declares meta-predicates, i.e., predicates that have arguments that will be called as goals. An argument may also be a closure instead of a goal if the meta-predicate uses the call/N
Logtalk built-in methods to construct the actual goal from the closure and the additional arguments.
meta_predicate(+meta_predicate_mode_indicator)
:- meta_predicate(findall(*, ::, *)). :- meta_predicate(forall(::, ::)). :- meta_predicate(maplist(2, *, *))