ArrayKPartial
public typealias ArrayKPartial = ForArrayK
-
A natural transformation that obtains the first element of an array, or
Option.none
if it is empty.Declaration
Swift
public static var firstOrNone: FunctionK<ArrayKPartial, OptionPartial> { get }
-
Declaration
Swift
public static func hash<A>(_ fa: ArrayKOf<A>, into hasher: inout Hasher) where A : Hashable
-
Declaration
Swift
public static func foldLeft<A, B>( _ fa: ArrayKOf<A>, _ b: B, _ f: @escaping (B, A) -> B) -> B
-
Declaration
Swift
public static func traverse<G: Applicative, A, B>( _ fa: ArrayKOf<A>, _ f: @escaping (A) -> Kind<G, B>) -> Kind<G, ArrayKOf<B>>