DictionaryK

public class DictionaryK<K, A> : DictionaryKOf<K, A> where K : Hashable

Undocumented

  • Undocumented

    Declaration

    Swift

    public static func fix(_ fa: DictionaryKOf<K, A>) -> DictionaryK<K, A>
  • Undocumented

    Declaration

    Swift

    public init(_ dictionary: [K : A])
  • Undocumented

    Declaration

    Swift

    public func asDictionary() -> [K : A]
  • Undocumented

    Declaration

    Swift

    public func map<B>(_ f: (A) -> B) -> DictionaryK<K, B>
  • Undocumented

    Declaration

    Swift

    public func map2<B, Z>(_ fb: DictionaryK<K, B>, _ f: (A, B) -> Z) -> DictionaryK<K, Z>
  • Undocumented

    Declaration

    Swift

    public func map2Eval<B, Z>(_ fb: Eval<DictionaryK<K, B>>, _ f: @escaping (A, B) -> Z) -> Eval<DictionaryK<K, Z>>
  • Undocumented

    Declaration

    Swift

    public func ap<AA, B>(_ fa: DictionaryK<K, AA>) -> DictionaryK<K, B> where A == (AA) -> B
  • Undocumented

    Declaration

    Swift

    public func flatMap<B>(_ f: (A) -> DictionaryK<K, B>) -> DictionaryK<K, B>
  • Undocumented

    Declaration

    Swift

    public func foldLeft<B>(_ b: B, _ f: (B, A) -> B) -> B
  • Undocumented

    Declaration

    Swift

    public func foldRight<B>(_ b: Eval<B>, _ f: (A, Eval<B>) -> Eval<B>) -> Eval<B>
  • Undocumented

    Declaration

    Swift

    public func foldLeft<B>(_ b: DictionaryK<K, B>, _ f: (DictionaryK<K, B>, (K, A)) -> DictionaryK<K, B>) -> DictionaryK<K, B>