scalax.rules

trait Monoidals

[source: scalax/rules/Monoidals.scala]

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

Method Details
implicit def app[A, B](fab : M[(A) => B]) : (M[A]) => M[B]

implicit def appUnit[A, B](a2b : (A) => B) : (M[A]) => M[B]


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