trait
SumFold[By <: Nat] extends Fold[Nat, Nat]
Abstract Value Members
-
abstract
def
apply[N <: Nat, Acc <: Nat](n: N, acc: Acc): Apply[N, Acc]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (SumFold[By], B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
def
ensuring(cond: Boolean, msg: ⇒ Any): SumFold[By]
-
-
-
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (SumFold[By], B)
Inherited by implicit conversion any2stringadd from
SumFold[By] to any2stringadd[SumFold[By]]
Inherited by implicit conversion StringFormat from
SumFold[By] to StringFormat[SumFold[By]]
Inherited by implicit conversion Ensuring from
SumFold[By] to Ensuring[SumFold[By]]
Inherited by implicit conversion ArrowAssoc from
SumFold[By] to ArrowAssoc[SumFold[By]]
Fold to compute the sum
Author:
Harshad Deo
0.1