Qore Programming Language Reference Manual  1.0.8
ql_list.dox.h
1 
3 namespace Qore {
7 
9 
14 bool inlist();
15 
17 
21 bool inlist(any arg, nothing x);
22 
24 
40 bool inlist(auto arg, softlist<auto> l);
41 
43 
47 bool inlist_hard();
48 
50 
54 bool inlist_hard(any arg, nothing x);
55 
57 
73 bool inlist_hard(auto arg, softlist<auto> l);
74 
76 
92 auto max(list<auto> l);
93 
95 
110 auto max(list<auto> l, string func);
111 
113 
129 auto max(list<auto> l, code f);
130 
132 
148 auto max( ...);
149 
151 
167 auto min(list<auto> l);
168 
170 
185 auto min(list<auto> l, string func);
186 
188 
204 auto min(list<auto> l, code f);
205 
207 
223 auto min( ...);
224 
226 
255 list<int> range(int start, int stop, int step = 1);
256 
258 
281 list<int> range(int stop);
282 
284 
288 nothing reverse();
289 
291 
305 list<auto> reverse(list<auto> l);
306 
308 
312 auto sort(auto arg);
313 
315 
334 list<auto> sort(list<auto> l);
335 
337 
355 list<auto> sort(list<auto> l, string func);
356 
358 
377 list<auto> sort(list<auto> l, code f);
378 
380 
384 auto sortDescending(auto arg);
385 
387 
403 list<auto> sortDescending(list<auto> l);
404 
406 
421 list<auto> sortDescending(list<auto> l, string func);
422 
424 
439 list<auto> sortDescending(list<auto> l, code f);
440 
442 
446 auto sortDescendingStable(auto arg);
447 
449 
470 list<auto> sortDescendingStable(list<auto> l);
471 
473 
493 list<auto> sortDescendingStable(list<auto> l, string func);
494 
496 
517 list<auto> sortDescendingStable(list<auto> l, code f);
518 
520 
524 auto sortStable(auto arg);
525 
527 
543 list<auto> sortStable(list<auto> l);
544 
546 
561 list<auto> sortStable(list<auto> l, string func);
562 
564 
585 list<auto> sortStable(list<auto> l, code f);
586 
588 
592 auto sort_descending(auto arg);
593 
595 
616 list<auto> sort_descending(list<auto> l);
617 
619 
639 list<auto> sort_descending(list<auto> l, string func);
640 
642 
663 list<auto> sort_descending(list<auto> l, code f);
664 
666 
670 auto sort_descending_stable(auto arg);
671 
673 
694 list<auto> sort_descending_stable(list<auto> l);
695 
697 
717 list<auto> sort_descending_stable(list<auto> l, string func);
718 
720 
741 list<auto> sort_descending_stable(list<auto> l, code f);
742 
744 
748 auto sort_stable(auto arg);
749 
751 
772 list<auto> sort_stable(list<auto> l);
773 
775 
795 list<auto> sort_stable(list<auto> l, string func);
796 
798 
819 list<auto> sort_stable(list<auto> l, code f);
820 
822 }
auto sort_stable(auto arg)
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
auto sortDescending(auto arg)
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
auto sortDescendingStable(auto arg)
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
auto sort(auto arg)
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
bool inlist()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
auto max(list< auto > l)
Returns the maximum value in a list.
auto min(list< auto > l)
Returns the minumum value in a list.
auto sort_descending(auto arg)
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
auto sort_descending_stable(auto arg)
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
list< int > range(int start, int stop, int step=1)
Returns a list containing an arithmetic progression of integers.
auto sortStable(auto arg)
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
nothing reverse()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
bool inlist_hard()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...