Availability:built-in
dwim_predicate(+Term,
-Dwim)`Do What I Mean' (`dwim') support predicate. Term is a term,
whose name and arity are used as a predicate specification. Dwim
is instantiated with the most general term built from Name
and the arity of a defined predicate that matches the predicate
specified by
Term in the `Do What I Mean' sense. See dwim_match/2
for `Do What I Mean' string matching. Internal system predicates are not
generated, unless the access level is system
(see
access_level).
Backtracking provides all alternative matches.