diff --git a/prototype/doubt-difftool/main.swift b/prototype/doubt-difftool/main.swift index 133df5f6c..0aad5e7a8 100644 --- a/prototype/doubt-difftool/main.swift +++ b/prototype/doubt-difftool/main.swift @@ -144,6 +144,13 @@ func parserForType(type: String) -> String throws -> Term { } } +extension ForwardIndexType { + /// The range encompassing a single index. + var range: Range { + return self.. Diff { switch diff { case let .Pure(.Replace(.Unroll(aExtract, .Leaf), .Unroll(bExtract, .Leaf))):