Skip to content

shall I have your elaboration on how the implicit function "mk" works?  #18

@epiphyllum

Description

@epiphyllum

trait Inner[F]{
type T
}

object Inner{
def apply[F](implicit inner: Inner[F]) = inner

implicit def mk[F[_], A] = new Inner[F[A]]{
type T = A
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions