Did you know ... Search Documentation:
Pack pac -- prolog/pac/expand-etc.pl
PublicShow source
 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 iterate --- repeat action until final. while --- while statement until --- until statement sed --- unix-like sed command based on the hybrid regualar expressions.

Undocumented predicates

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

 etc(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6)
 sed(Arg1, Arg2, Arg3)
 sed(Arg1, Arg2, Arg3, Arg4)