ClosedRangeConstructible

public protocol ClosedRangeConstructible[Other = Self]

Raw protocol backing the closed ..= operator (start..=end).

Associated Types

type Output

Methods

func inclusiveRange(to: Other) -> Output

Builds the closed range [self, end].

Defined in lang/std/core/range.ks