subsequences — Logtalk 3.100.1

object

# `subsequences`

Implementation of subsequence operations over lists.

Availability:
`logtalk_load(subsequences(loader))`
Author: Paulo Moura
Version: 1:0:0
Date: 2026-02-26
Compilation flags:
`static, context_switching_calls`
Implements:
`public` subsequences_protocol
Uses:
fast_random(Algorithm)
list
Remarks:
(none)
Inherited public predicates:
alternating_subsequence/2 alternating_subsequences/2 common_subsequence/3 common_subsequences/3 count_distinct_subsequences/3 count_subsequences/2 init/2 init1/2 init_tail/2 init_tails/2 inits/2 inits1/2 is_prefix_of/2 is_subsequence_of/2 is_suffix_of/2 k_distinct_subsequence/3 k_distinct_subsequences/3 longest_common_increasing_subsequence/3 longest_common_subsequence/3 longest_decreasing_subsequence/2 longest_increasing_subsequence/2 longest_repeating_subsequence/2 nonempty_subsequence/2 nonempty_subsequences/2 power_set/2 proper_subsequence/2 random_subsequence/2 sliding_window/3 subsequence/2 subsequence/3 subsequence_at_indices/3 subsequence_length/2 subsequences/2 subsequences/3 subsequences_with_min_span/3 subslices/2 tail/2 tail1/2 tails/2 tails1/2

## Public predicates

(no local declarations; see entity ancestors if any)

## Protected predicates

(no local declarations; see entity ancestors if any)

## Private predicates

(no local declarations; see entity ancestors if any)

## Operators

(none)