RewritingTerm
protocol RewritingTerm : Collection, Equatable, Sendable where Self.Element : Hashable, Self.Element : Sendable, Self.Index == Int, Self.SubSequence : Sendable
A term in a rewriting system.
-
Creates a term with the given symbols.
Declaration
Swift
init<S>(_ s: S) where S : Sequence, Self.Element == S.Element -
Returns a copy of
selfin which occurrences ofshave been replaced byt.Declaration
Swift
func substituting(_ s: Self, for t: Self) -> Self -
Returns
uconcatenated withv.Declaration
Swift
static func + (u: Self, v: Self) -> Self -
Returns
uconcatenated withv.Declaration
Swift
static func + <S>(u: Self, v: S) -> Self where S : Sequence, Self.Element == S.Element -
Returns
uconcatenated withv.Declaration
Swift
static func + <S>(u: S, v: Self) -> Self where S : Sequence, Self.Element == S.Element
View on GitHub