object Tags
Type tags that are used to discriminate between alternative type class instances.
- Source
- Tags.scala
- See also
scalaz.Tag and,
@@
in the package object scalaz .
- Alphabetic
- By Inheritance
- Tags
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
sealed
trait
Conjunction
extends AnyRef
Type tag to choose a scalaz.Monoid instance that performs conjunction (
&&
) -
sealed
trait
Disjunction
extends AnyRef
Type tag to choose a scalaz.Monoid instance that performs disjunction (
||
) -
sealed
trait
Dual
extends AnyRef
Type tag to choose a scalaz.Monoid instance that inverts the operands to
append
before calling the natural scalaz.Monoid for the type.Type tag to choose a scalaz.Monoid instance that inverts the operands to
append
before calling the natural scalaz.Monoid for the type.Example:
import scalaz.{@@, Tag, Tags, Dual} import scalaz.std.string._ import scalaz.syntax.monoid._ import scalaz.Dual._ Dual("World!") |+| Dual("Hello, ") // "Hello, World!"
-
sealed
trait
First
extends AnyRef
Type tag to choose a scalaz.Monoid instance that selects the first non-
zero
operand to append. -
sealed
trait
FirstVal
extends AnyRef
Type tag to choose a scalaz.Semigroup instance that selects the first operand to append.
-
sealed
trait
Last
extends AnyRef
Type tag to choose a scalaz.Monoid instance that selects the last non-
zero
operand to append. -
sealed
trait
LastVal
extends AnyRef
Type tag to choose a scalaz.Semigroup instance that selects the last operand to append.
-
sealed
trait
Max
extends AnyRef
Type tag to choose a scalaz.Monoid instance that selects the greater of two operands, ignoring
zero
. -
sealed
trait
MaxVal
extends AnyRef
Type tag to choose a scalaz.Semigroup instance that selects the greater of two operands.
-
sealed
trait
Min
extends AnyRef
Type tag to choose a scalaz.Monoid instance that selects the lesser of two operands, ignoring
zero
. -
sealed
trait
MinVal
extends AnyRef
Type tag to choose a scalaz.Semigroup instance that selects the lesser of two operands.
-
sealed
trait
Multiplication
extends AnyRef
Type tag to choose a scalaz.Monoid instance for a numeric type that performs multiplication, rather than the default monoid for these types which by convention performs addition.
-
sealed
trait
Parallel
extends AnyRef
Type tag to choose a scalaz.Applicative instance that runs scalaz.concurrent.Futures in parallel.
-
sealed
trait
Zip
extends AnyRef
Type tag to choose as scalaz.Applicative instance that performs zipping.
Type tag to choose as scalaz.Applicative instance that performs zipping.
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
- def Conjunction[A](a: A): @@[A, Conjunction]
- def Disjunction[A](a: A): @@[A, Disjunction]
- def Dual[A](a: A): @@[A, Dual]
- def First[A](a: A): @@[A, First]
- def FirstVal[A](a: A): @@[A, FirstVal]
- def Last[A](a: A): @@[A, Last]
- def LastVal[A](a: A): @@[A, LastVal]
- def Max[A](a: A): @@[A, Max]
- def MaxVal[A](a: A): @@[A, MaxVal]
- def Min[A](a: A): @@[A, Min]
- def MinVal[A](a: A): @@[A, MinVal]
- def Multiplication[A](a: A): @@[A, Multiplication]
- val Parallel: TagOf[Parallel]
- def Zip[A](a: A): @@[A, Zip]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @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
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
- @throws( ... )