2006-03-16から1日間の記事一覧
AA折れ線グラフ via shiroさんの所。Haskellのお勉強。 module Main where import Data.List plist :: (Int, Int) -> [(Int, Char)] -> String -> [(Int, Char)] plist (px,py) lst [] = reverse lst plist (px,py) lst (c:cs) = case c of 'R' -> plist (px…
AA折れ線グラフ via shiroさんの所。Haskellのお勉強。 module Main where import Data.List plist :: (Int, Int) -> [(Int, Char)] -> String -> [(Int, Char)] plist (px,py) lst [] = reverse lst plist (px,py) lst (c:cs) = case c of 'R' -> plist (px…