Did you know ... Search Documentation:
Pack dcgutils -- prolog/dcg_progress.pl
PublicShow source
 seqmap_with_progress(+Period:natural, +Pred:pred(A,S,S), +X:list(A))// is nondet
 seqmap_with_progress(+Period:natural, +Pred:pred(A,B,S,S), +X:list(A), ?Y:list(B))// is nondet
Just like seqmap//2 and seqmap//3 but prints progress and memory usage statistics while running. Information is printed every Period iterations. The first input list must be valid list skeleton with a definite length, so that a percentage progress indicator can be printed.
 stats is det
Print memory usage statistics.
 stats(-Codes:list(code)) is det
Return memory usage statistics as a list of codes.

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

 seqmap_with_progress(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6)