Func

sealed abstract class Func[F[_], A, B]

Func is a function A => F[B].

Func is a function A => F[B].

See: The Essence of the Iterator Pattern

Companion
object
class Object
trait Matchable
class Any
class AppFunc[F, A, B]

Value members

Abstract methods

def run: A => F[B]

Concrete methods

def map[C](f: B => C)(FF: Functor[F]): Func[F, A, C]
def mapK[G[_]](f: FunctionK[F, G]): Func[G, A, B]

Modify the context F using transformation f.

Modify the context F using transformation f.