scalax.rules.Monoidals

trait Monoidal

[source: scalax/rules/Monoidals.scala]

trait Monoidal[+A]
extends Functor[A] with AnyRef
One of 'and' and 'applyTo' definitions must be overriden in concrete subclasses
Method Summary
def and [B](fb : => M[B]) : M[(A, B)]
def applyTo [B](fab : M[(A) => B]) : M[B]
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Methods inherited from Functor
map (abstract)
Method Details
def and[B](fb : => M[B]) : M[(A, B)]

def applyTo[B](fab : M[(A) => B]) : M[B]


Copyright (c) 2005-8 The Scalax Project. All Rights Reserved.