2008-08-27から1日間の記事一覧

GHCのタプルの取り扱いに関して

A 100-tuple is too large for GHC (max size is 62) Workaround: use nested tuples or define a data typeこんなのが出てきた。 で調べてみると、 第14章 既知のバグと問題点 ほえーこれは初耳。

高速道路とかに乗る前にさ

http://www.hyuki.com/yukiwiki/wiki.cgi?WhirlwindTutorialOnCreatingReallyTeensyElfExecutablesForLinux こういうのにドキドキして楽しんだ方が良いと思うんだけど。

Scalaパズル

を素早くHaskellで解く。via http://d.hatena.ne.jp/kmizushima/20080826/1219723302 take3 [] = "" take3 (a:b:[] ) = (td_show a) ++ (td_show b) ++ td_nbsp ++ " </tr>\n" take3 (a:[] ) = " <tr>\n" ++ (td_show a) ++ td_nbsp ++ td_nbsp ++ " </tr>\n" take3 (a:b:c…