Did you know ... Search Documentation:
generics.pl -- Generics
PublicShow source

Generic predicates in plweb. Candidates for placement in some library.

author
- Wouter Beek
version
- 2013/12-2014/01
Source 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.
Source is_empty(+Content:atom) is semidet
Source 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.
Source 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.
Source 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.

Source true(Arg1)
Source login_link(Arg1, Arg2)
Source ensure_number(Arg1, Arg2)
Source clean_dom(Arg1, Arg2)