{"provider_url":"https://hatena.blog","type":"rich","author_url":"https://blog.hatena.ne.jp/sirocco/","categories":["Haskell"],"version":"1.0","width":"100%","height":"190","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","provider_name":"Hatena Blog","blog_url":"https://sirocco.hatenadiary.org/","author_name":"sirocco","published":"2009-06-16 06:14:37","title":"\u914d\u5217\u3092\u4f7f\u3063\u3066\u307f\u308b","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20090616%2F1245100477\" title=\"\u914d\u5217\u3092\u4f7f\u3063\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>","image_url":null,"description":"Array \u3092\u4f7f\u3063\u3066\u307f\u308b\u3002 > :m + Data.Array -- \u30e2\u30b8\u30e5\u30fc\u30eb\u306e import > :t listArray listArray :: (Ix i) => (i, i) -> [e] -> Array i e -- \u30ea\u30b9\u30c8\u304b\u3089\u914d\u5217\u3092\u4f5c\u3063\u3066\u307f\u308b\u3002 > listArray (0,2) [\"Hello\",\"world\",\"Hoge\"] --=> array (0,2) [(0,\"Hello\"),(1,\"world\"),(2,\"Hoge\")] -- \u914d\u5217\u306e Index \u3068\u306a\u308b\u8981\u7d20\u306f C \u306e\u3088\u3046\u306b 0 \u3067\u3042\u308b\u5fc5\u8981\u306f\u306a\u304f\u3001Ix \u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067\u3042\u308c\u3070\u826f\u3044\u3002 > listArray (10\u2026","url":"https://sirocco.hatenadiary.org/entry/20090616/1245100477"}