{"description":"\u914d\u5217\u306e\u7df4\u7fd2\u306bData.Array \u3067\u6570\u72ec\u306e\u30c6\u30fc\u30d6\u30eb\u3092\u8868\u73fe\u3057\u3066\u307f\u307e\u3059\u3002 import Data.Array data Cell = Cell{digit::Int, mark::Char} deriving(Eq,Show) blockSize :: ((Int, Int), (Int, Int)) blockSize = ((1,1),(3,3)) type Block = Array (Int, Int) Cell -- 3 x 3 \u306e\u30bb\u30eb\u3092\u6301\u3064\u30d6\u30ed\u30c3\u30af block :: Block block = array blockSize $ zip (range blockSize) (repea\u2026","height":"190","author_url":"https://blog.hatena.ne.jp/sirocco/","published":"2012-05-20 07:28:29","type":"rich","url":"https://sirocco.hatenadiary.org/entry/20120520/1337466509","author_name":"sirocco","width":"100%","blog_url":"https://sirocco.hatenadiary.org/","image_url":null,"version":"1.0","provider_name":"Hatena Blog","title":"Data.Array \u3067\u6570\u72ec\u306e\u30c6\u30fc\u30d6\u30eb\u3092\u8868\u73fe\u3057\u3066\u307f\u308b","categories":["Haskell"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20120520%2F1337466509\" title=\"Data.Array \u3067\u6570\u72ec\u306e\u30c6\u30fc\u30d6\u30eb\u3092\u8868\u73fe\u3057\u3066\u307f\u308b - sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","provider_url":"https://hatena.blog"}