all
object all extends ComposeSyntax with AttrSyntax with LiftSyntax with FixSyntax with UnfixSyntax with EmbedSyntax with ProjectSyntax
trait ProjectSyntax
trait EmbedSyntax
trait UnfixSyntax
trait FixSyntax
trait LiftSyntax
trait AttrSyntax
trait ComposeSyntax
class Object
trait Matchable
class Any
all.type
Type members
Inherited types
Compose two functors F
and G
.
Compose two functors F
and G
.
This allows you to inline what would otherwise require a type alias.
Consider the method
def method[F[_]]: Unit = ()
Calling method with a simple type is easy:
method[Option]
Calling method with a nested type is more complicated. The traditional way to do this is to use an alias:
type ListOption[A] = List[Option[A]]
method[ListOption]
This type provides a convenient (maybe?) way to inline the above type:
method[(List ∘ Option)#λ]
Note: If you have the kind projector plugin enabled, this alias is equivalent to:
method[λ[α => List[Option[α]]]]
- Inherited from:
- ComposeSyntax
Implicits
Inherited implicits
implicit def toFoldableProjectSyntaxOps[F[_], T](t: T)(implicit PFT: Project[F, T], FF: Foldable[F]): ProjectFoldableOps[F, T]
- Inherited from:
- ProjectSyntax