2010-05-12から1日間の記事一覧

LeksahをUbuntu10.04で動かそう(断念)

leksahがモジュールを見つけてくれない。 コンパイルとかは出来るんだけど、補完入力とかモジュール検索とか見れないと面白くないよぅ。 起動時にpackageinfo not foundんちゃらかんちゃらがずらずらと出るよう。 なんでかは分からん。てやんでぃ!てやんで…

昨日のかいりょーばん

module Main () where import GHC.IO (liftIO) main = do i1 ← getInt i2 ← getInt let w = i1 h = i2 print $ area w h print $ around w h getInt :: IO Int getInt = readLn area :: Int → Int → Int area w h = w * h around :: Int → Int → Int around …

ゆーうつ

ゆーうつ ゆーうつでござるぅ