DictionaryK
public final class DictionaryK<K, A> : DictionaryKOf<K, A> where K : HashableDictionaryK is a Higher Kinded Type wrapper over Swift dictionaries.
- 
                  
                  Safe downcast. DeclarationSwift public static func fix(_ fa: DictionaryKOf<K, A>) -> DictionaryK<K, A>ParametersfaValue in the higher-kind form. Return ValueValue cast to DictionaryK. 
- 
                  
                  Initializes a DictionaryK.DeclarationSwift public init(_ dictionary: [K : A])ParametersdictionaryA Swift dictionary. 
- 
                  
                  Obtains the wrapped dictionary. DeclarationSwift public func asDictionary() -> [K : A]Return ValueA Swift dictionary wrapped in this value. 
- 
                  
                  Zips this dictionary with another one and combines their values with the provided function. DeclarationSwift public func map2<B, Z>(_ fb: DictionaryK<K, B>, _ f: (A, B) -> Z) -> DictionaryK<K, Z>ParametersfbA dictionary. fCombining function. Return ValueResult of zipping the values of both dictionaries and combining their values. 
- 
                  
                  Zips this dictionary with a potentially lazy one and combines their values with the provided function. DeclarationParametersfbA potentially lazy dictionary. fCombining function. Return ValueResult of zipping the values of both dictionaries and combining their values. 
- 
                  
                  Sequential application. DeclarationSwift public func ap<AA, B>(_ fa: DictionaryK<K, AA>) -> DictionaryK<K, B> where A == (AA) -> BParametersfaA dictionary. Return ValueA dictionary with the result of applying the functions in this dictionary to the values in the argument. 
- 
                  
                  Applies the provided function to all values in this dictionary, flattening the final result. DeclarationSwift public func flatMap<B>(_ f: (A) -> DictionaryK<K, B>) -> DictionaryK<K, B>ParametersfTransforming function. Return ValueA dictionary with the outputs of applying the function to all values in this dictionary. 
- 
                  
                  DeclarationSwift public func combine(_ other: DictionaryK<K, A>) -> DictionaryK<K, A>
- 
                  
                  DeclarationSwift public static func empty() -> DictionaryK<K, A>
 
             Install in Dash
              Install in Dash
             DictionaryK Class Reference
        DictionaryK Class Reference