Tags

object Tags

Type tags that are used to discriminate between alternative type class instances.

See also

scalaz.Tag and, @@ in the package object scalaz .

class Object
trait Matchable
class Any

Type members

Classlikes

sealed

Type tag to choose a scalaz.Monoid instance that performs conjunction (&&)

Type tag to choose a scalaz.Monoid instance that performs conjunction (&&)

sealed

Type tag to choose a scalaz.Monoid instance that performs disjunction (||)

Type tag to choose a scalaz.Monoid instance that performs disjunction (||)

sealed
trait Dual

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

Type tag to choose a scalaz.Monoid instance that selects the first non-zero operand to append.

Type tag to choose a scalaz.Monoid instance that selects the first non-zero operand to append.

sealed
trait FirstVal

Type tag to choose a scalaz.Semigroup instance that selects the first operand to append.

Type tag to choose a scalaz.Semigroup instance that selects the first operand to append.

sealed
trait Last

Type tag to choose a scalaz.Monoid instance that selects the last non-zero operand to append.

Type tag to choose a scalaz.Monoid instance that selects the last non-zero operand to append.

sealed
trait LastVal

Type tag to choose a scalaz.Semigroup instance that selects the last operand to append.

Type tag to choose a scalaz.Semigroup instance that selects the last operand to append.

sealed
trait Max

Type tag to choose a scalaz.Monoid instance that selects the greater of two operands, ignoring zero.

Type tag to choose a scalaz.Monoid instance that selects the greater of two operands, ignoring zero.

sealed
trait MaxVal

Type tag to choose a scalaz.Semigroup instance that selects the greater of two operands.

Type tag to choose a scalaz.Semigroup instance that selects the greater of two operands.

sealed
trait Min

Type tag to choose a scalaz.Monoid instance that selects the lesser of two operands, ignoring zero.

Type tag to choose a scalaz.Monoid instance that selects the lesser of two operands, ignoring zero.

sealed
trait MinVal

Type tag to choose a scalaz.Semigroup instance that selects the lesser of two operands.

Type tag to choose a scalaz.Semigroup instance that selects the lesser of two operands.

sealed

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.

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

Type tag to choose a scalaz.Applicative instance that runs in parallel.

Type tag to choose a scalaz.Applicative instance that runs in parallel.

sealed
trait Zip

Type tag to choose as scalaz.Applicative instance that performs zipping.

Type tag to choose as scalaz.Applicative instance that performs zipping.

See also