Did you know ... Search Documentation:
Pack fld -- prolog/fld.pl
PublicShow source
 fld(?Field:term, ?Object:term) is det[multifile]
Field is a argument in an object.
 fld_set(?Field:term, ?Old:term, ?New:term) is nondet[multifile]
New is the old term with field updated.
 fld_default(+Field:atom, ?Default:term) is semidet[multifile]
A default is defined by the user, if no default is used then an uninstantiated variable will be used.
 fld_template(?Name:atom, ?Template:list) is nondet
template is an object with all fields as uninstaniated variables. defaults are taken from the fld_default/2 predicates.
 fld_object(++Name:atom, ++Fields:list) is det[multifile]
fields is a list of all fields that relate to object of name. if the name does not exist then it is created. fld_object(Name, Flds) :- fld_object_def(Name, Flds), !.

Undocumented predicates

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

 flds(Arg1, Arg2)
 flds_set(Arg1, Arg2, Arg3)
 fld_template(Arg1, Arg2, Arg3)
 fld_fields(Arg1, Arg2)