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
- val Conjunction: TagOf[Conjunction]
- val Disjunction: TagOf[Disjunction]
- val Dual: TagOf[Dual]
- val First: TagOf[First]
- val FirstVal: TagOf[FirstVal]
- val Last: TagOf[Last]
- val LastVal: TagOf[LastVal]
- val Max: TagOf[Max]
- val MaxVal: TagOf[MaxVal]
- val Min: TagOf[Min]
- val MinVal: TagOf[MinVal]
- val Multiplication: TagOf[Multiplication]
- val Parallel: TagOf[Parallel]
- val Zip: TagOf[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( ... )