Dual
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.
Example:
import scalaz.{@@, Tag, Tags, Dual}
import scalaz.std.string._
import scalaz.syntax.monoid._
import scalaz.Dual._
Dual("World!") |+| Dual("Hello, ") // "Hello, World!"
class Object
trait Matchable
class Any