Usage:null_dict(D)
D is an empty dictionary.
Usage:create_dict(Term,Dict)
Dict has names for all variables in Term.
Usage:create_pretty_dict(Term,Dict)
Dict has names for all variables in Term. The difference with create_dict/2 is that prettier names are generated
Usage:complete_dict(Dict,Term,NewDict)
NewDict is Dict augmented with the variables of Term not yet in Dict.
Usage:complete_vars_dict(Dict,Vars,NewDict)
NewDict is Dict augmented with the variables of the list Vars not yet in Dict.
Usage:complete_dict_alpha(Dict,Term,NewDict)
NewDict is Dict augmented with the variables of Term not yet in Dict with alphabetical names.
Usage:complete_vars_dict_alpha(Dict,Vars,NewDict)
NewDict is Dict augmented with the variables of the list Vars not yet in Dict with alphabetical names.
Usage:prune_dict(Term,Dict,NewDict)
NewDict is Dict reduced to just the variables of Term.
Usage:sort_dict(D,Dict)
D is sorted into Dict.
Usage:dict2varnamesl(Dict,VNs)
Translates Dict to VNs.
Usage:varnamesl2dict(VNs,Dict)
Translates VNs to Dict.
Usage:find_name(Vars,Names,V,Name)
Given that vars_names_dict(Dict,Vars,Names) holds, it acts as rename(V,Dict), but the name of V is given as Name instead of unified with it.
Usage:prettyvars(Term,Dict)
Give names to the variables in the term Term using the dictionary Dict. Intended to replace prettyvars/1 in those places where is possible to get the dictionary of variables.
Usage:rename(Term,Dict)
Unifies each variable in Term with its name in Dict. If no name is found, a new name is created.
Usage:varnamedict(D)
D is a dictionary of variable names.
Usage:vars_names_dict(Dict,Vars,Names)
Vars is a sorted list of variables, and Names is a list of their names, which correspond in the same order.