{"id":14163,"date":"2021-08-29T20:05:18","date_gmt":"2021-08-29T11:05:18","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=14163"},"modified":"2023-05-28T08:57:21","modified_gmt":"2023-05-27T23:57:21","slug":"%e3%80%90%e9%96%a2%e6%95%b0%e5%9e%8b%e8%a8%80%e8%aa%9e%e3%80%91%e3%80%8c%e8%a8%88%e7%ae%97%e3%83%a2%e3%83%87%e3%83%ab%e3%80%8d%e3%81%ae%e7%a8%ae%e9%a1%9e","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=14163","title":{"rendered":"\u3010\u95a2\u6570\u578b\u8a00\u8a9e\u3011\u300c\u8a08\u7b97\u30e2\u30c7\u30eb\u300d\u306e\u7a2e\u985e\u3001\u30ab\u30ea\u30fc\u5316"},"content":{"rendered":"<p>\u6a5f\u68b0\u304c\u4fdd\u6301\u3057\u3066\u3044\u308b\u8a08\u7b97\u30e2\u30c7\u30eb\u306f3\u3064\u306e\u30e2\u30c7\u30eb\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u547d\u4ee4\u578b\u30e2\u30c7\u30eb<\/h2>\n<p>\u30a2\u30e9\u30f3\u30c1\u30e5\u30fc\u30ea\u30f3\u30b0\u304c\u8003\u6848\u3057\u305f\u3002Java\u3084C\u306a\u3069\u3067\u63a1\u7528\u3055\u308c\u308b\u4e00\u822c\u7684\u306a\u30e2\u30c7\u30eb\u3001\u300c\u8a08\u7b97\u300d\u3068\u306f\u300c\u547d\u4ee4\u3092\u5b9f\u884c\u3059\u308b\u300d\u3053\u3068\u3002<\/p>\n<h3>\u547d\u4ee4<\/h3>\n<p>\u8a08\u7b97\u6a5f\u306e\u72b6\u614b\u3092\u5909\u66f4\u3059\u308b\u51e6\u7406\u306e\u3053\u3068\u3002\u4f8b\u3092\u3042\u3052\u308c\u3070\u96fb\u5353\u306a\u3069\u306e\u4ed5\u7d44\u307f\u3067\u3059\u30021\u3092\u62bc\u3057\u305f\u30891\u304c\u8868\u793a\u3055\u308c\u3001+\u30682\u3092\u62bc\u3057\u305f\u30893\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u30e1\u30ea\u30c3\u30c8<\/h3>\n<p>\u6982\u5ff5\u306f\u73fe\u5b9f\u4e16\u754c\u3068\u4f3c\u3066\u3044\u308b\u306e\u3067\u308f\u304b\u308a\u3084\u3059\u3044\u3002<\/p>\n<h3>\u30c7\u30e1\u30ea\u30c3\u30c8<\/h3>\n<p>\u72b6\u614b\u304c\u5206\u304b\u308a\u3065\u3089\u3044\u3002\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5fc5\u8981\u4ee5\u4e0a\u306b\u8907\u96d1\u306b\u306a\u308b\u3002<\/p>\n<h3>\u30c1\u30e5\u30fc\u30ea\u30f3\u30b0\u6a5f\u68b0<\/h3>\n<p>1930\u5e74\u4ee3\u306b\u30a2\u30e9\u30f3\u30c1\u30e5\u30fc\u30ea\u30f3\u30b0\u304c\u6a5f\u68b0\u306b\u3088\u3063\u3066\u8a08\u7b97\u3092\u81ea\u52d5\u5316\u3057\u307e\u3057\u305f\u3002<\/p>\n<h3>\u306a\u305c\u6d41\u884c\u3063\u305f\u306e\u304b\uff1f<\/h3>\n<p>\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u306e\u69cb\u9020\u306b\u8fd1\u304b\u3063\u305f\u305f\u3081\u3002\u95a2\u6570\u578b\u30e2\u30c7\u30eb\u3067\u306f\u30e1\u30e2\u30ea\u3084\u30b3\u30f3\u30d1\u30a4\u30eb\u306e\u52b9\u7387\u7684\u306a\u7ba1\u7406\u304c\u3057\u306b\u304f\u3044\u3002<\/p>\n<h2>\u95a2\u6570\u578b\u30e2\u30c7\u30eb<\/h2>\n<p>Haskell\u3084Lisp\u306a\u3069\u3067\u63a1\u7528\u3055\u308c\u308b\u3002\u300c\u8a08\u7b97\u300d\u3068\u306f\u300c\u95a2\u6570\u3092\u547c\u3073\u51fa\u3057\u3066\u5024\u3092\u5f97\u308b\u300d\u3053\u3068\u3002<\/p>\n<h3>\u30e9\u30e0\u30c0\u8a08\u7b97<\/h3>\n<p>\u30a2\u30e1\u30ea\u30ab\u306e\u30a2\u30ed\u30f3\u30be\u30fb\u30c1\u30e3\u30fc\u30c1\u304c\u8003\u6848\u3057\u305f\u3002\u95a2\u6570\u540d\u304c\u306a\u3044\u3002\u95a2\u6570\u304b\u3089\u540d\u524d\u3092\u53d6\u308a\u9664\u3044\u305f\u62bd\u8c61\u95a2\u6570\u3067\u3042\u308b\u3002<\/p>\n<h3>\u30d0\u30a4\u30f3\u30c9\u3059\u308b<\/h3>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u6570\u306b\u95a2\u6570\u3092\u5bfe\u5fdc\u3065\u3051\u308b\u3053\u3068\u3092\u300c\u30d0\u30a4\u30f3\u30c9\u3059\u308b\u300d\u3068\u8a00\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \">const a = (x)=&gt; {\r\nreturn x+1;\r\n};<\/pre>\n<p>a()\u3068\u3059\u308b\u3053\u3068\u3067\u95a2\u6570\u3092\u547c\u3073\u51fa\u305b\u307e\u3059\u3002<\/p>\n<h3>\u306a\u305c\u6ce8\u76ee\u3055\u308c\u3064\u3064\u3042\u308b\u306e\u304b\uff1f<\/h3>\n<p>\u30e1\u30e2\u30ea\u3084CPU\u306e\u51e6\u7406\u80fd\u529b\u5411\u4e0a\u306b\u3088\u308a\u30e1\u30e2\u30ea\u7ba1\u7406\u306a\u3069\u306e\u5b9f\u88c5\u4e0a\u306e\u554f\u984c\u306f\u89e3\u6c7a\u3055\u308c\u3084\u3059\u304f\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u3002<\/p>\n<p>\u547d\u4ee4\u578b\u30e2\u30c7\u30eb\u306b\u6bd4\u3079\u3066\u7c21\u6f54\u306b\u8a18\u8ff0\u304c\u3067\u304d\u308b\u3002<\/p>\n<h4>\u7f6e\u63db\u30eb\u30fc\u30eb<\/h4>\n<p>\u6211\u3005\u304c\u5c0f\u5b66\u6821\u306e\u9803\u306b\u3084\u3063\u3066\u304d\u305f\u8a08\u7b97\u624b\u9806\u3068\u540c\u3058\u3082\u306e\u3002<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u300c\u95a2\u6570\u9069\u7528\u306e\u6642\u306b\u5f15\u6570\u306e\u5024\u3067\u95a2\u6570\u672c\u4f53\u306e\u5185\u90e8\u306e\u5909\u6570\u3092\u7f6e\u63db\u3059\u308b\u300d<\/strong><\/span>\u3068\u3044\u3046\u898f\u5247\u304c\u3042\u308a\u307e\u3059\u3002\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u9006\u306b\u8a00\u3048\u3070\u3001<span style=\"color: #ff0000;\"><strong>\u300c\u95a2\u6570\u547c\u3073\u51fa\u3057\u306e\u7d50\u679c\u306f\u3001\u305d\u306e\u95a2\u6570\u306e\u5f15\u6570\u306e\u307f\u306b\u4f9d\u5b58\u3059\u308b\u300d<\/strong><\/span>\u3053\u3068\u306b\u306a\u308b\u3002<\/p>\n<h4>\u8a08\u7b97\u306e\u904e\u7a0b\uff08\u72b6\u614b\uff09\u304c\u6349\u3048\u3084\u3059\u3044\u3002<\/h4>\n<p>\u8a08\u7b97\u306e\u72b6\u614b\u3092\u660e\u793a\u3067\u304d\u308b\u3002<\/p>\n<h4>\u95a2\u6570\u3068\u3057\u3066\u6271\u3046\u59ff\u52e2<\/h4>\n<p>\u51e6\u7406\u81ea\u4f53\u3092\u90e8\u54c1\u5316\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<h2>\u8ad6\u7406\u578b\u30e2\u30c7\u30eb<\/h2>\n<p>Prolog\u306a\u3069\u3067\u63a1\u7528\u3055\u308c\u308b\u3002\u300c\u8a08\u7b97\u300d\u3068\u306f\u300c\u8a3c\u660e\u3092\u5f97\u308b\u300d\u3053\u3068\u3002\u73fe\u5728\u306f\u3042\u307e\u308a\u4f7f\u308f\u308c\u307e\u305b\u3093\u3002<\/p>\n<h2>\u30ab\u30ea\u30fc\u5316\u3055\u308c\u305f\u95a2\u6570\u3068\u306f\uff1f<\/h2>\n<ul>\n<li>\u30ab\u30ea\u30fc\u5316\u3055\u308c\u305f\u95a2\u6570\u306f\u305f\u3060\u4e00\u3064\u306e\u5f15\u6570\u3057\u304b\u53d6\u3089\u306a\u3044\u3002<\/li>\n<li>1\u3064\u306e\u5f15\u6570\u3057\u304b\u53d6\u3089\u306a\u3044\u5225\u306e\u95a2\u6570\u3092\u8fd4\u3059\u3002<\/li>\n<li>\u9ad8\u968e\u95a2\u6570\u306e\u4e00\u7a2e<\/li>\n<\/ul>\n<h2>\u30ab\u30ea\u30fc\u5316\u306e\u30e1\u30ea\u30c3\u30c8<\/h2>\n<p>\u305f\u3060\u4e00\u3064\u3057\u304b\u5f15\u6570\u3092\u53d6\u3089\u306a\u3044\u306e\u3067\u3001\u95a2\u6570\u540c\u58eb\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u5834\u9762\u3067\u5f15\u6570\u306e\u6570\u3092\u4e00\u81f4\u3055\u305b\u308b\u5fc5\u8981\u304c\u306a\u304f\u95a2\u6570\u306b\u6c4e\u7528\u6027\u3092\u6301\u305f\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n<h2>\u30ab\u30ea\u30fc\u5316\u3055\u308c\u305f\u95a2\u6570\u306e\u4f8b<\/h2>\n<pre class=\"lang:default decode:true\">const a = (x) =&gt; {\r\n  return (y) =&gt; {\r\n    return x + y;\r\n  }\r\n}<\/pre>\n<p>\u306a\u306e\u3067\u3001a(1)\u306a\u3069\u3068\u6307\u5b9a\u3057\u3066\u3082\u7121\u540d\u95a2\u6570\u304c\u8fd4\u3063\u3066\u304f\u308b\u3060\u3051\u3067\u3059\u3002a(1)(2)\u306a\u3069\u3068\u3057\u305f\u3089\u521d\u3081\u30663\u3068\u3044\u3046\u8a08\u7b97\u7d50\u679c\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u6a5f\u68b0\u304c\u4fdd\u6301\u3057\u3066\u3044\u308b\u8a08\u7b97\u30e2\u30c7\u30eb\u306f3\u3064\u306e\u30e2\u30c7\u30eb\u304c\u3042\u308a\u307e\u3059\u3002 \u547d\u4ee4\u578b\u30e2\u30c7\u30eb \u30a2\u30e9\u30f3\u30c1\u30e5\u30fc\u30ea\u30f3\u30b0\u304c\u8003\u6848\u3057\u305f\u3002Java\u3084C\u306a\u3069\u3067\u63a1\u7528\u3055\u308c\u308b\u4e00\u822c\u7684\u306a\u30e2\u30c7\u30eb\u3001\u300c\u8a08\u7b97\u300d\u3068\u306f\u300c\u547d\u4ee4\u3092\u5b9f\u884c\u3059\u308b\u300d\u3053\u3068\u3002 \u547d\u4ee4 \u8a08\u7b97\u6a5f\u306e\u72b6\u614b\u3092\u5909\u66f4\u3059\u308b\u51e6\u7406\u306e\u3053\u3068 [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[126],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/14163"}],"collection":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14163"}],"version-history":[{"count":8,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/14163\/revisions"}],"predecessor-version":[{"id":20818,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/14163\/revisions\/20818"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14163"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}