From 346a4e17c77c7a6596803974a44c517a89576f7c Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Tue, 13 Oct 2015 21:33:24 -0400 Subject: [PATCH] Categorizable types have `categories`. --- prototype/Doubt/Category.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/prototype/Doubt/Category.swift b/prototype/Doubt/Category.swift index 1345ff3c0..ae16e3237 100644 --- a/prototype/Doubt/Category.swift +++ b/prototype/Doubt/Category.swift @@ -56,4 +56,6 @@ public func < (left: Category, right: Category) -> Bool { // MARK: - Categorizable /// A type whose values belong to a set of categories. -public protocol Categorizable {} +public protocol Categorizable { + var categories: Set { get } +}