RangeThroughConstructible

public protocol RangeThroughConstructible

Protocol backing the prefix ..= operator (..=end).

Output is the range type produced — usually RangeThrough[Self].

Associated Types

type Output

Methods

func rangeThrough() -> Output

Builds the partial range (-∞, self].

Defined in lang/std/core/range.ks