2006-12-08から1日間の記事一覧

Concurrent Clean : [quiz] リスト要素の正規化(2)

http://karetta.jp/article/blog/oneline/008668 それはそうと、これはやはり継続を使って解く方がいいと思うのですよね(schemeなので)。 maxInt =: 0x7fffffff ::Tree a = Node a [Tree a] norm t = let ([[t2:_]:_],_) = norm_t t end maxInt in t2 wher…