Pythonã¯æå¼·ã§ãããææ³ã¯ãã§ã¼ç°¡åãã©ã¤ãã©ãªãå å®åº¦ãããããããã§ãã¦ã¡ã¿ããã°ã©ãã³ã°ãã§ããããã®ã¡ã¿ããã°ã©ãã³ã°ã使ãã¨æ«å°¾å帰æé©åã¾ã§ã§ããããã§ãâ¦ãããããNew Tail Recursion Decorator « Python recipes « ActiveState Code class tail_recursive(object): def __init__(self, func): self.func = func self.firstcall = True self.CONTINUE = object() def __call__(self, *args, **kwd): if self.firstcall: func = self.func CONTINUE = self.CONTINUE self.firstcall = False try:
2009å¹´02æ15æ¥10:30 ã«ãã´ãªLightweight Languages perl - ã§ç¡åå帰é¢æ°åã³ ããã¾ã§ã®ããããããã Perl 㧠JS ã® arguments.callee çãªãã¨ãããã¨æã£ã¦ããã£ã - ITæ¦è¨ ããDevel::Caller ã§ã§ããã - TokuLog æ¹ã ã ã¾ã£ã¦ã³ã¼ããæ¸ãããã² 404 Blog Not Found:perl - ã§(Recall()|arguments.callee()|&?BLOCK()) Perlã§Recallã®è©± - Unknown::Programming ãããããããã«æ¬ ç¹ãããã¾ãããDevel::Callerã¯XSã«ä¾åãããå¼¾æ¹å¼ã¯ã½ã¼ã¹ãã£ã«ã¿ã¼ãid:fbisæ¹å¼ã¯ãã¡ãã¡èªåèªèº«ãã¹ã¿ãã¯ã«ç©ã¿ç´ãã¦ãã... ãã®æ¬ ç¹ãå ¨ã¦åãé¤ãæ¹æ³ãçºè¦ãã¾ããã [Run via code
å©ç¨æ¹泠ã¹ã¿ã¼ã ã‹¤ãÂÂã«ç®ãÂÂéÂÂãÂÂã¾ãÂÂã ãÂÂãÂÂãÂÂãÂÂã®ãÂÂãÂÂ㪠ãÂÂã®ä»Âã®ãÂÂãÂÂ㪠>> Google Developer Day 2008 Japan ãÂȋÂÂã·ã§ã³ãÂÂOpenSocialã ã½ã¼ã·ã£ã« ãµã¤ãÂÂã¸ã®ãÂÂ㋳ã åÂÂ人ãÂÂÃ¥ÂÂÃ¥ÂÂã¨ã®ã³ãÂÂãÂ¥ãÂÂã±ã¼ã·ã§ã³ãÂÂæÂÂ軽ã«è¡ÂãÂÂãÂÂã¢ãÂÂãªã±ã¼ã·ã§ã³ãÂÂãÂÂãÂÂã°ãÂÂã¦ã§ãÂÂã®é åÂÂã¯ãÂÂãÂÂã«é«Âã¾ãÂÂã¾ãÂÂãÂÂãÂÂãÂÂãÂÂãÂÂã¢ãÂÂãªã±ãÂ
ãç¥ãã
é害
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}