|
Say we have a List<String> names; object representing a bunch of names. If we want to remove from the list all the names that begin with “a” we may have to write something like this: ... Some other useful predicates include:
|
blogs.msdn.com/bclteam/archive/2007/08/24/bcl-refresher...
blogs.msdn.com/bclteam/archive/2007/08/24/bcl-refresher-list-t-predicates-inbar-gazit.aspx
|
|
|
|
Every complete sentence contains two parts: a subject and a predicate. The subject is what (or whom) the sentence is about, while the predicate tells something about the subject. In the following sentences, the predicate is enclosed in braces ({}), ... For additional information, consult our list of contacts...
|
www.uottawa.ca/academic/arts/writcent/hypergrammar/subj...
www.uottawa.ca/academic/arts/writcent/hypergrammar/subjpred.html
|
|
|
Retrieves all the elements that match the conditions defined by the specified predicate. ... The Find method traverses the list from the beginning, passing each element in turn to the EndsWithSaurus method. The search stops when the EndsWithSaurus method returns true for the element "Amargasaurus".
|
msdn.microsoft.com/en-us/library/fh1w7y8z.aspx
|
|
This is a list of all predicates, a description, their arguments and default values. First are the connectives which are a special kind of predicates. ... (And <pred1> <pred2> ... ) Returnes the minimum value of the predicates. Returns 1.0 if the list is empty.
|
www.ida.liu.se/~robocup/design/Player/predicate/list.ht...
www.ida.liu.se/~robocup/design/Player/predicate/list.html
|
|
The following predicates test whether a Lisp object is an atom, whether it is a cons cell or is a list, or whether it is the distinguished object nil. (Many of these predicates can be defined in terms of the others, but they are used so often that it is worth having all of them.)
|
www.gnu.org/software/emacs/elisp/html_node/List_002drel...
www.gnu.org/software/emacs/elisp/html_node/List_002drelated-Predicates.html
|
|
5.6.2.2 List Predicates ... Often it is useful to test whether a given Scheme object is a list or not. List-processing procedures could use this information to test whether their input is valid, or they could do different things depending on the datatype of their arguments.
|
www.gnu.org/software/guile/manual/html_node/List-Predic...
www.gnu.org/software/guile/manual/html_node/List-Predicates.html
|
|
The definitions of the list predicates are the usual ones. We have two new directives, object/1 and end_object/0, that encapsulate the object's code. In Logtalk, by default, all object predicates are private;
|
www.gusconstan.com/AI/prolog/lgt2146/manuals/tutorial/l...
www.gusconstan.com/AI/prolog/lgt2146/manuals/tutorial/lists.html
|
|
Predicates on Lists =================== The following predicates test whether a Lisp object is an atom, is a cons cell or is a list, or whether it is the distinguished object `nil'.
|
computing.fnal.gov/docs/products/xemacs/v21_1/lispref.i...
computing.fnal.gov/docs/products/xemacs/v21_1/lispref.info,.List-relatedPredicates.html
|
|
a) Implement exists_symmetric that tests if list contains distinct items x and y such that pred x y = pred y x = true. ... As examples = and && are both symmetric binary-predicates:
|
www.ocaml-tutorial.org/write_a_binary-predicate_list_te...
www.ocaml-tutorial.org/write_a_binary-predicate_list_test
|
|