object

set(Type)

Set predicates with elements constrained to a single type and custom comparing rules.

Availability:
logtalk_load(sets(loader))
Author: Paulo Moura and Adrian Arroyo
Version: 1:24:0
Date: 2022-02-03
Compilation flags:
static, context_switching_calls
Extends:
public set
Uses:
Remarks:
(none)

Public predicates

(no local declarations; see entity ancestors if any)

Protected predicates

(no local declarations; see entity ancestors if any)

Private predicates

sort/2

Sorts a list in ascending order.

Compilation flags:
static
Template:
sort(List,Sorted)
Mode and number of proofs:
sort(+list,-list) - one

partition/4

List partition in two sub-lists using a pivot.

Compilation flags:
static
Template:
partition(List,Pivot,Lowers,Biggers)
Mode and number of proofs:
partition(+list,+nonvar,-list,-list) - one

Operators

(none)