- applist(+Pred, +List)
- Apply a predicate to all list elements
- applist_body(?, ?, ?)
- No description available
- appnodes(+Pred, +Term)
- Call Pred on all Subterms of Term (depth-first and left-to-right order)
- appnodes_body(?, ?, ?)
- No description available
- checklist(+Pred, +List)
- Apply a predicate to all list elements
- fromto(+From, +To, +Step, +Pred)
- Call Pred with the numbers From..To in increments of Step
- fromto_body(?, ?, ?, ?, ?)
- No description available
- mapargs(+Pred, +TermIn, ?TermOut)
- Create new term by applying a predicate to all arguments
- mapargs_body(?, ?, ?, ?)
- No description available
- maplist(+Pred, +ListIn, ?ListOut)
- Create new list by applying a predicate to all list elements
- maplist_body(?, ?, ?, ?)
- No description available
- mapstream(+Pred, ?ListIn, ?ListOut)
- Like maplist/3, but delays if ListIn is not complete
- mapstream_body(?, ?, ?, ?)
- No description available
- selectlist(+Pred, +ListIn, ?ListOut)
- Creates output list of all list elements that pass a given test
- selectlist_body(?, ?, ?, ?)
- No description available
- sumargs(+Pred, +Term, ?AccIn, ?AccOut)
- Call Pred on all arguments of Term and collect a result in Accumulator
- sumargs_body(?, ?, ?, ?, ?)
- No description available
- sumlist(+Pred, +List, ?AccIn, ?AccOut)
- Call Pred on all element of List and collect a result in Accumulator
- sumlist_body(?, ?, ?, ?, ?)
- No description available
- sumnodes(+Pred, +Term, ?AccIn, ?AccOut)
- Call Pred on all Subterms of Term and collect a result in Accumulator
- sumnodes_body(?, ?, ?, ?, ?)
- No description available
A collection of utilities to apply a predicate to all elements of a list resp. all subterm of a term. To avoid performance degradation due to apply/2, they are implemented as macros, i.e. they are specialized into auxiliary predicates without metacalls, and the calls are translated into calls of the auxiliary predicates.