diff --git a/prototype/Doubt/Prism.swift b/prototype/Doubt/Prism.swift index 15299821c..642fab688 100644 --- a/prototype/Doubt/Prism.swift +++ b/prototype/Doubt/Prism.swift @@ -8,12 +8,6 @@ public struct Prism { public let backward: To -> From } -extension Dictionary { - static func prism(key: Key) -> Prism<[Key:Value], Value> { - return Prism(forward: { $0[key] }, backward: { [key: $0] }) - } -} - public func >>> (left: Prism, right: Prism) -> Prism { return Prism(forward: { left.forward($0).flatMap(right.forward) }, backward: right.backward >>> left.backward) }