2009-09-24から1日間の記事一覧

そのままコードにする

気づいたこと 「そのままコードにすること」 ;;;q.1.33 (define (filtered-accumlate-r filter combiner null-value term a next b) (if (filter a b) null-value (combiner (term a) (filtered-accumlate-r filter combiner null-value term (next a) next …

memo:C#の反復と例外

C#

反復周りをメモします。 1.反復します 非Generic public class StampCollection : System.Collections.IEnumerable { private Dictionary<string, Stamp> stamps_ = new Dictionary<string, Stamp>(); public void Add(Stamp s) { stamps_.Add(s.Name, s); } public System.Collections.IEn</string,></string,>…