scalax.data

trait MonoidWithJoin

[source: scalax/data/MonoidWithJoin.scala]

trait MonoidWithJoin[A]
extends AnyRef
Type-class for monoids, where the operation looks like concatenation.
Direct Known Subclasses:
Implicits.StringProps

Method Summary
def concat (i : scala.Iterable[A]) : A
abstract def empty : A
abstract def join (a : A, b : A) : A
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
abstract def join(a : A, b : A) : A

abstract def empty : A

def concat(i : scala.Iterable[A]) : A


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