- expand_etc(+Pac:pac, +M:atom, -G:pred, -P:list, -Q:list) is det
True if Pac is converted to a reference G to an expanded
predicate in P (minus Q) at a module M.
Currently the following macro are expanded:
phrase --- hybrid regular expressions in DCG phrases
for --- control predicate 'for'
foldl --- foldl ( 'foldl' is builtin in SWI-Prolog)
foldr --- foldr
repeat --- repeat
process --- repeat action until final.
sed --- unix-like sed command based on the hybrid regualar expressions.
flip --- generates a variant predicates with arguments flipping.
The following predicates are exported, but not or incorrectly documented.
- etc(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6)