Generic predicates in plweb.
Candidates for placement in some library.
- author
- - Wouter Beek
- version
- - 2013/12-2014/01
add_option(+FromOptions:list(nvpair), +Name:atom, +Value:atom, +ToOptions:list(nvpair)) is det[private]- Adds an option with the given name and value (i.e. `Name(Value)`),
and ensures that old options are overwritten and
that the resultant options list is sorted.
is_empty(+Content:atom) is semidet
request_to_id(+Request, ?Kind, -Id) is semidet- True when Request is a request to the post service for the given
Kind and Id. Id is '' when accessing without an id.
uri_query_add(+FromURI:uri, +Name:atom, +Value:atom, -ToURI:atom) is det- Inserts the given name-value pair as a query component into the given URI.
wiki_file_codes_to_dom(+Codes, +File, -DOM)- DOM is the HTML dom representation for Codes that originate from
File.
Undocumented predicates
The following predicates are exported, but not or incorrectly documented.
ensure_number(Arg1, Arg2)
clean_dom(Arg1, Arg2)
login_link(Arg1, Arg2)
true(Arg1)