Did you know ... Search Documentation:
Pack pac -- prolog/misc/misc.pl
PublicShow source
 term_shell(+X:term, -Y:string) is det
Expand a shell command term X into a string that can be passed to shell/1.
 bash(+X:term, -Y:text) is det
Expand a shell command term X into a text that can be passed to shell/1.
 set(+X:term, -Y:list) is det
Evaluate a set expression X into a list Y.
 insert(+M:term, +X:list, -Y:list) is det
Insert M beteen every successive elements of X, and unify Y with the result.
 desugaring(+X:term, -Y:term) is det
Eliminate infix '-' and '/', and prefix '+', '-', and ufify Y with the result.
 choices(+X:list, -Y:list) is det
Unify Y with the set of `choice sequences' of X.
 list(+X:term, -Y:list) is det
Expand a list term X into a list Y.
 string(+X:term, -Y:string) is det
Expand a string term X into a string Y.

Re-exported predicates

The following predicates are re-exported from other modules

 parse_time(+Text, -Stamp) is semidet
 parse_time(+Text, ?Format, -Stamp) is semidet
Stamp is a timestamp created from parsing Text using the representation Format. Currently supported formats are:
rfc_1123
Used for the HTTP protocol to represent time-stamps
iso_8601
Commonly used in XML documents.

Undocumented predicates

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

 assert_call_graph
 assert_edge(Arg1, Arg2, Arg3)
 bash_option(Arg1, Arg2)
 bash_plus(Arg1, Arg2)
 compile_pred_word(Arg1, Arg2, Arg3, Arg4)
 random_choice(Arg1, Arg2)
 collect_subterm(Arg1, Arg2, Arg3)
 collect_subterm(Arg1, Arg2, Arg3, Arg4)
 cs(Arg1, Arg2)
 dir_minus(Arg1, Arg2, Arg3)
 dir_plus(Arg1, Arg2, Arg3)
 directory_files(Arg1, Arg2, Arg3)
 directory_remove_ymhms(Arg1)
 drop3zw(Arg1, Arg2)
 find_exportables_from_calls(Arg1, Arg2)
 ignore(Arg1, Arg2)
 insert_pause(Arg1, Arg2)
 kanji(Arg1, Arg2, Arg3)
 map_directory_files(Arg1, Arg2)
 matrix_paths(Arg1, Arg2)
 parse_utf8(Arg1, Arg2)
 predicate_arity(Arg1, Arg2)
 predicate_arity_for_export(Arg1, Arg2)
 product(Arg1, Arg2, Arg3)
 product3(Arg1, Arg2, Arg3, Arg4)
 product4(Arg1, Arg2, Arg3, Arg4, Arg5)
 product_cons(Arg1, Arg2, Arg3)
 rename_directory_suffix(Arg1, Arg2, Arg3)
 skip_filler(Arg1, Arg2)
 split_by_filler(Arg1, Arg2, Arg3)
 term_shell(Arg1)
 texadjust(Arg1, Arg2)
 texuncomment(Arg1, Arg2)
 token_and_split(Arg1, Arg2, Arg3)
 try2problem(Arg1, Arg2)
 expand_sgn_brace(Arg1, Arg2)