Suppose I want to have a Set of functions or closures. Here\'s how I would go about it:
Set
typealias HandlerX = () -> () static var handlersX =
Yes, this is a dead end. Hashable isn't really your problem; there's no way to decide whether two closures are Equal (which is a base requirement of Hashable).