conc(?List1, ?List2, -ResultList) [more]

Concatenate List1 and List2 and unifiy the concatenated result with the parameter ResultList.

del(?Element, ?List, -ResultList) [more]

Delete an element from the List (second parameter) and unify the result with the third parameter ResultList.

largest_number(+List, ?Maximum) [more]

Determine the largest number from a list of numbers.

last(?Element, +List) [more]

Unify the Element parameter with the last element of a List.

lengthlist(+List, ?Num) [more]

Determine the number of elements in the List (first parameter) and unify that number with the second parameter Num.

member(+Element, ?List) [more]

Determine if an element (first parameter) is a member of a list (second parameter).

prefix(+PrefixList, ?List) [more]

Determine if a list is a prefix of another List (second parameter).

quicksort( +List, ?SortedList, +CompareTerm ) [more]

Sort a list (first argument) using the supplied term for comparing the elements in the unsorted list (third argument).

reverse(+List, ?ReversedList) [more]

Reverse a list (first parameter) and unify the reversed list with the second parameter.

smallest_number(+List, ?Minimum) [more]

Determine the smallest number from a list of numbers.

sublist(+SubList, ?List) [more]

Determine if a list is a sublist of another List (second parameter).

suffix(+SuffixList, ?List) [more]

Determine if a list is a suffix of another List (second parameter).

sum_list(+List, ?Sum) [more]

Determine the sum of all numbers in a list.

sum_list_integer(+List, ?Sum) [more]

Determine the sum of all integers in a list of integers.

 

info@trinc-prolog.com