|
@@ -1,8 +1,14 @@ |
|
|
extension MPAK { |
|
|
extension MPAK { |
|
|
public struct Many<T> { |
|
|
public struct Many<T> { |
|
|
public var keys = Set<String>() |
|
|
|
|
|
public var dict = [String: T]() |
|
|
|
|
|
|
|
|
public var keys: Set<String> |
|
|
|
|
|
public var dict: [String: T] |
|
|
|
|
|
|
|
|
public init() { } |
|
|
|
|
|
|
|
|
public init( |
|
|
|
|
|
_ keys: Set<String> = [], |
|
|
|
|
|
_ dict: [String: T] = [:] |
|
|
|
|
|
) { |
|
|
|
|
|
self.keys = keys |
|
|
|
|
|
self.dict = dict |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |