[ library(apply_macros) | Reference Manual | Alphabetic Index ]

sumargs(+Pred, +Term, ?AccIn, ?AccOut)

Call Pred on all arguments of Term and collect a result in Accumulator

Description

The traversal order is unspecified!

Modules

This predicate is sensitive to its module context (tool predicate, see @/2).