{"id":2260,"date":"2014-08-29T09:00:03","date_gmt":"2014-08-29T00:00:03","guid":{"rendered":"http:\/\/blog.antenna.co.jp\/ILSoft2\/?p=2260"},"modified":"2014-08-29T09:00:03","modified_gmt":"2014-08-29T00:00:03","slug":"io%e3%83%a2%e3%83%8a%e3%83%89%e3%81%ab%e6%b1%9a%e6%9f%93%e3%81%95%e3%82%8c%e3%82%8b%e6%84%9f%e8%a6%9a%e3%80%82","status":"publish","type":"post","link":"https:\/\/blog.antenna.co.jp\/ILSoft2\/archives\/2260\/","title":{"rendered":"IO\u30e2\u30ca\u30c9\u306b\u6c5a\u67d3\u3055\u308c\u308b\u611f\u899a\u3002"},"content":{"rendered":"<p>\u3000IO\u30e2\u30ca\u30c9\u306b\u6c5a\u67d3\u3055\u308c\u308b\u611f\u899a\u3002\u5b9f\u7528\u7684\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u306f\u5fc5\u305aI\/O\u304c\u3042\u308b\u3002\u5fc5\u305a\u3042\u308b\u3002\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u7d14\u7c8b\u95a2\u6570\u578b\u8a00\u8a9e\u3067\u3042\u308bHaskell\u306b\u304a\u3044\u3066IO\u306f\u30e2\u30ca\u30c9\u3068\u3057\u3066\u8868\u73fe\u3055\u308c\u3066\u3044\u308b\u3002\u30e2\u30ca\u30c9\u304c\u7d61\u3080\u3068\u9762\u5012\u304c\u4e00\u6c17\u306b\u5897\u3048\u308b\u3088\u3046\u306b\u611f\u3058\u308b\u3002\u5b9f\u969b\u5897\u3048\u308b\u3002\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e00\u89a7\u3092\u64cd\u4f5c\u3057\u305f\u3044\u3060\u3051\u306a\u306e\u306bIO\u30e2\u30ca\u30c9\u304c\u4ed8\u3044\u3066\u307e\u308f\u308b\u3002\u4e71\u6570\u3092\u4f7f\u3044\u305f\u3044\u3060\u3051\u306a\u306e\u306bIO\u30e2\u30ca\u30c9\u304c\u4ed8\u3044\u3066\u304f\u308b\u3002\u73fe\u5728\u65e5\u6642\u3092\u4f7f\u3044\u305f\u3044\u3060\u3051\u306a\u306e\u306bIO\u30e2\u30ca\u30c9\u304c\u3072\u3063\u4ed8\u3044\u3066\u304f\u308b\u3002IO\u30e2\u30ca\u30c9\u3092\u6271\u3046\u95a2\u6570\u3092\u547c\u3076\u5074\u306b\u3082\u5fc5\u305aIO\u30e2\u30ca\u30c9\u3092\u6271\u308f\u305b\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3002\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30d1\u30e9\u30e1\u30bf\u306b\u306fIO\u30e2\u30ca\u30c9\u304c\u4ed8\u3044\u3066\u304f\u308b\u306e\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u306emain\u5074\u306b\u306f\u5fc5\u305aIO\u30e2\u30ca\u30c9\u304c\u3042\u308a\u308b\u304c\u3001\u305d\u3053\u304b\u3089\u547c\u3070\u308c\u308b\u95a2\u6570\u306b\u306fIO\u30e2\u30ca\u30c9\u304c\u3042\u308b\u5fc5\u8981\u306f\u306a\u3044\u3002\u3057\u304b\u3057\u4f8b\u3048\u3070\u4e71\u6570\u3092\u4f7f\u3046\u3068\u306a\u308b\u3068\u305d\u306e\u95a2\u6570\u3092\u542b\u3081\u305d\u3053\u304b\u3089main\u307e\u3067\u306e\u5168\u3066\u306e\u968e\u5c64\u306e\u95a2\u6570\u306bIO\u30e2\u30ca\u30c9\u3092\u4ed8\u3051\u306a\u304f\u3066\u306f\u306a\u3089\u306a\u3044\u3002\u3053\u308c\u304cIO\u30e2\u30ca\u30c9\u306b\u6c5a\u67d3\u3055\u308c\u308b\u611f\u899a\u3068\u306a\u308b\u3002IO\u30e2\u30ca\u30c9\u3092\u5c01\u3058\u8fbc\u3081\u308b\u65b9\u6cd5\u306f\u3042\u308b\u3088\u3046\u306a\u306e\u3060\u304c\u90aa\u9053\u3068\u3055\u308c\u3066\u3044\u308b\u3002\u56f0\u3063\u305f\u3082\u3093\u3060\u3002\u30e2\u30ca\u30c9\u306e\u4f55\u304c\u9762\u5012\u304b\u3063\u3066\u3001map\u3067\u306a\u304fmapM\u3092\u4f7f\u308f\u306a\u304f\u3066\u306f\u3044\u3051\u306a\u304f\u306a\u308b\u3002\u30ed\u30b8\u30c3\u30af\u7684\u306b\u306f\u666e\u901a\u306bmap\u3067\u8868\u73fe\u3067\u304d\u308b\u306f\u305a\u306e\u3053\u3068\u304cmapM\u3067\u306a\u3044\u3068\u8868\u73fe\u3067\u304d\u306a\u304f\u306a\u308b\u3002\u3053\u308c\u3063\u3066\u95a2\u6570\u578b\u8a00\u8a9e\u4e00\u822c\u306e\u554f\u984c\u3058\u3083\u306a\u3044\u3067\u3059\u3088\u306d\u3002\u7d14\u7c8b\u95a2\u6570\u578b\u8a00\u8a9e\u3060\u304b\u3089\u3053\u305d\u306e\u554f\u984c\u3067\u3059\u3088\u306d\u3002\u3057\u304b\u3082IO\u30e2\u30ca\u30c9\u306fHaskell\u7279\u6709\u306e\u6a5f\u80fd\u3002\u7c21\u5358\u306a\u554f\u984c\u3092\u9762\u5012\u81ed\u304f\u89e3\u304f\u3053\u3068\u306b\u306a\u3063\u3061\u307e\u3046\u3002<\/p>\n<p>\u3000\u4f8b\u3048\u3070\u6307\u5b9a\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u30ea\u30b9\u30c8\u3092\u5f97\u308b\u30b3\u30fc\u30c9\u3067\u518d\u5e30\u306e\u6642\u306bmapM\u3092\u4f7f\u3046\u3002\u30ed\u30b8\u30c3\u30af\u7684\u306b\u306fmap\u3067\u5341\u5206\u306a\u90e8\u5206\u306a\u306e\u3060\u304cIO\u30e2\u30ca\u30c9\u306e\u304a\u304b\u3052\u3067mapM\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u3002\u666e\u901a\u306bmap\u3067\u66f8\u304f\u3079\u304d\u90e8\u5206\u3067mapM\u306a\u3093\u3066\u53d6\u3063\u3066\u4ed8\u3051\u305f\u3088\u3046\u306a\u5909\u306a\u540d\u524d\u306e\u95a2\u6570\u3092\u4f7f\u3046\u306e\u306f\u306a\u3093\u3068\u3044\u3046\u304b\u6c17\u8272\u60aa\u3044\u3002\u30e2\u30ca\u30c9\u3092\u5c0e\u5165\u3057\u3066\u5f97\u305f\u3082\u306e\u306f\u53c2\u7167\u900f\u904e\u6027\u3002\u53c2\u7167\u900f\u904e\u6027\u3084\u6b63\u683c\u6027\u304c\u3069\u308c\u3060\u3051\u5927\u5207\u304b\u308f\u304b\u3089\u306a\u3044\u304c\u3001Haskell\u3067\u306f\u6570\u5343\u884c\u304c\u9650\u5ea6\u3067\u3001\u6570\u4e07\u884c\u306f\u66f8\u3051\u306a\u3044\u3001\u4ed5\u4e8b\u306b\u306f\u4f7f\u3048\u305d\u3046\u306b\u306a\u3044\u3068\u611f\u3058\u305f\u3002IO\u30e2\u30ca\u30c9\u306b\u6c5a\u67d3\u3055\u308c\u308b\u611f\u899a\u306e\u305b\u3044\u3067\u3042\u308b\u3002<\/p>\n<p>\u3000\u306a\u3093\u3068\u3044\u3046\u304b\u3072\u3069\u3044\u30c4\u30f3\u30c7\u30ec\u3067\u3059\u306d\u3002\u6c5a\u308c\u4ed5\u4e8b\u306f\u5168\u90e8\u30e2\u30ca\u30c9\u306b\u4e38\u6295\u3052\u3002<\/p>\n<p>\u3000\u3061\u306a\u307f\u306bPython\u3082\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u306e\u307e\u307e\uff08\u30b3\u30f3\u30d1\u30a4\u30e9\u3067\u306e\u30c1\u30a7\u30c3\u30af\u306a\u3057\uff09\u3067\u306f\u6570\u4e07\u884c\u306f\u66f8\u3051\u306a\u3044\u3068\u611f\u3058\u308b\u3002Scala\u306fJava\u3084C\/C++\/C#\u3068\u540c\u3058\u3088\u3046\u306b\u6570\u4e07\u884c\u306f\u666e\u901a\u306b\u66f8\u3051\u308b\u3002\u4e0d\u7d14\u306a(^^;)\u8a00\u8a9e\u306a\u306e\u3067\u30e2\u30ca\u30c9\u304c\u6f0f\u308c\u3060\u3059\u3053\u3068\u3082\u306a\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000IO\u30e2\u30ca\u30c9\u306b\u6c5a\u67d3\u3055\u308c\u308b\u611f\u899a\u3002\u5b9f\u7528\u7684\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u306f\u5fc5\u305aI\/O\u304c\u3042\u308b\u3002\u5fc5\u305a\u3042\u308b\u3002\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u7d14\u7c8b\u95a2\u6570\u578b\u8a00\u8a9e\u3067\u3042\u308bHaskell\u306b\u304a\u3044\u3066IO\u306f\u30e2\u30ca\u30c9\u3068\u3057\u3066\u8868\u73fe\u3055\u308c\u3066\u3044\u308b\u3002\u30e2\u30ca\u30c9\u304c\u7d61\u3080\u3068\u9762\u5012\u304c\u4e00\u6c17\u306b\u5897\u3048\u308b\u3088\u3046\u306b\u611f\u3058\u308b\u3002\u5b9f\u969b [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-2260","post","type-post","status-publish","format-standard","hentry","category-column"],"_links":{"self":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/posts\/2260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/comments?post=2260"}],"version-history":[{"count":0,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/posts\/2260\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/media?parent=2260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/categories?post=2260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/tags?post=2260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}