-
Convenience initializer for Coreader
Declaration
Swift
public init(_ run: @escaping (A) -> B)
Parameters
run
Function to be enclosed in this Coreader.
-
Runs this Coreader function with the given input.
Declaration
Swift
public func runId(_ a: A) -> B
Parameters
a
Input value for the function.
Return Value
Output of the function.