2009-03-01から1ヶ月間の記事一覧

HaskellのList Monadを使って論理パズルを解くことができるらしい。 -- choose correctly one from three casckets portia :: [[Bool]] portia = do g <- bool s <- bool v <- bool gc <- bool sc <- bool pc <- bool guard $ (==1) $ length $ filter id [g…

*1236704629* test

test