Did you know ... Search Documentation:
Pack call_cleaup_each -- prolog/each_call_cleanup.pl
PublicShow source

Call Setup Goal Cleanup Each Iteration

See also
- https://groups.google.com/forum/#!searchin/comp.lang.prolog/redo_call_cleanup%7Csort:relevance/comp.lang.prolog/frH_4RzMAHg/2bBub5t6AwAJ
 each_call_cleanup(:Setup, :Goal, :Cleanup)
 each_call_catcher_cleanup(:Setup, :Goal, +Catcher, :Cleanup)
Call Setup before Goal like normal but also before each Goal is redone. Also call Cleanup each time Goal is finished

Undocumented predicates

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

 each_call_catcher_cleanup(Arg1, Arg2, Arg3, Arg4)
 dmsg(Arg1)