{"author_url":"https://blog.hatena.ne.jp/YokoKen/","blog_title":"\u6c17\u697d\u306b\u8af8\u3005","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyokoken.hatenadiary.org%2Fentry%2F20080530%2F1212138724\" title=\"PoSH \u3067\u30af\u30ed\u30fc\u30b8\u30e3 - \u6c17\u697d\u306b\u8af8\u3005\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://yokoken.hatenadiary.org/","version":"1.0","image_url":null,"published":"2008-05-30 18:12:04","title":"PoSH \u3067\u30af\u30ed\u30fc\u30b8\u30e3","width":"100%","type":"rich","url":"https://yokoken.hatenadiary.org/entry/20080530/1212138724","description":"\u3067\u304d\u306a\u3044\u3002\u3067\u3082\u3084\u308a\u305f\u3044\u3002 \u4f8b\u3048\u3070\u3053\u3093\u306a\u98a8\u306b\u66f8\u304d\u305f\u3044\u3002 closure Hoge { param ([int]$i1, [int]$i2) return $i1 * $i2; } closure Fuga { param ([int]$i1) $result = closure { param ([int]$i2) return (Hoge $i1 $i2); }; return $result; } $f = Fuga 2; $r = &$f 3 $r -eq 6;# param ([int]$i2) \u304c\u629c\u3051\u3066\u305f\u306e\u3067\u8ffd\u52a0 (2008/06/02)[\u30cd\u30bf\u5143] Windows PowerShell\u2026","provider_url":"https://hatena.blog","categories":["PowerShell"],"author_name":"YokoKen","provider_name":"Hatena Blog"}