public void Test05() { var mString = from m in Monoid.make <string>() let combine = Monoid.combine(seq("1", "2", "3", "4", "5"), m) select combine; claim.equal("12345", mString); }
public void Test01() { var mInt = from m in Monoid.make <int>() let combine = Monoid.combine(seq(1, 2, 3, 4, 5), m) select combine; claim.equal(15, mInt); }