object all extends AliasSyntax with AttrSyntax with LiftSyntax
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- all
- LiftSyntax
- AttrSyntax
- AliasSyntax
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
type
&[L, R] = (L, R)
- Definition Classes
- AliasSyntax
-
type
|[L, R] = Either[L, R]
- Definition Classes
- AliasSyntax
-
type
∘[F[_], G[_]] = AnyRef { type λ[α] = F[G[α]] }
Compose two functors
F
andG.
Compose two functors
F
andG.
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[α]]]]
- Definition Classes
- AliasSyntax
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
implicit
def
toAttrySyntaxOps[V[_], A](lower: V[A]): Ops[V, A]
- Definition Classes
- AttrSyntax
-
implicit
def
toLiftSyntaxOps[A, B](f: (A) ⇒ B): Ops[A, B]
- Definition Classes
- LiftSyntax
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )