ãã¹ã¯ãªããè¨èªéã«ããããlexical closureãã®éããã®æ´çã http://d.hatena.ne.jp/karasuyamatengu/20101008/1286568265 http://d.hatena.ne.jp/karasuyamatengu/20101007/1286477371 matz 2010/10/09 16:07 ãã¼ã¨ã§ãããã¾ã ãè¨èªãã¨ã«ãã£ã¦ããã¨ãéããã§ããã ã¤ã¾ããPerlã¨Rubyã¯ãããã¯å ã ãã§æ¯åæ°ããå¤æ°localvarãä½ã£ã¦ã(ã® ã§ãclosureéã§å¤æ°ãå ±æãã¦ããªã)ã®ã«å¯¾ãã¦ãPython(é¢æ°ã¬ãã«ããã¹ ã³ã¼ãããªã)ãªã©ã¯ãã£ã¨åºãã¹ã³ã¼ãã§localvarãæå¹ã§closureéã§åã å¤æ°ãå ±æãã¦ãã¾ããlocalvarã®ã¹ã³ã¼ããã«ã¼ãã®ä¸ã ãã®è¨èª (Ruby,Perl)ã¨closuresã¨loc
{{#tags}}- {{label}}
{{/tags}}