2009-05-01ãã1ã¶æéã®è¨äºä¸è¦§
Rails2.2ã®i18nã®ä½¿ãæ¹ãæ´çãã¦ããã¾ãããã£ã¨ã åæå ã/config/initializers/locale.rbãã§åºæ¬ã®è¨å®ãè¡ãã 主ãªè¨å®å±æ§ã¯ä»¥ä¸ã®ã¨ããã I18n.load_path 翻訳ããã¹ããã¡ã¤ã«ã®ãã¹ I18n.default_locale ããã©ã«ãã®è¨èª I18n.locale ç¾å¨ã®â¦
ããã°ã©ãã³ã°Gaucheã®ã³ã«ã¼ãã³(19.8)å 容ã®ãåå¼·ãP299ã«è¼ã£ã¦ããexitã®ããã®æç¶ããå®ç¾©ãããã»ãã®ã³ã«ã¼ãã³ãå®ç¾©ããããã®ãã¯ãå®ç¾©ã®è§£èªã (use util.queue) (define *tasks* (make-queue) ) (define-syntax define-coroutine (syntax-ruâ¦
ããã°ã©ãã³ã°Gaucheã®call/ccã§ã®ç¶ç¶(19.4-19.6)å 容ã®ãåå¼·ã break/nextååä»ã for-each æ¬ã®ãµã³ãã«ããåç´ãªä¾(åãåããªã¹ããå¯å¤ã§ã¯ãªãï¼ã¤ã«éå®)ã§å®è£ ãã¦ã¿ãã (define-syntax for-each-ext (syntax-rules () [ (_ break next expr lâ¦
ããã°ã©ãã³ã°Gaucheã®[17.5.3 ã¡ã½ããã®é©ç¨ã®ã«ã¹ã¿ãã¤ãº]ã®å 容ã復ç¿ãç·ç§°é¢æ°ãæ¨æºã®ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã§ã¯ãªãããããç¶æ¿ããç¬èªã®ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã¨ãããã¨ã«ããã¡ã½ããã®é©ç¨æ¹æ³ãã«ã¹ã¿ãã¤ãºï¼ä»åã¯ãã°åºåï¼ããã ç·ç§°é¢â¦
ããã°ã©ãã³ã°Gaucheãèªãã§ããéä¸ã§ããããªã¹ãã®å帰å¦çã®å¾©ç¿ã¨ãã¦åè¨ã¨å¹³åç®åºãå®è£ ãã¦ã¿ãã sum 0ãåæå¤ã¨ããè¦ç´ ã®å¤ãå ããå¤ãå¼æ°ã¨ãã¦æ¸¡ãã¦å帰ãã¦ãããæå¾ã«ãã®å¤ãè¿ãã¨ããæ«å°¾å帰ã«ããå®è£ ã (define (sum lis) (letâ¦
ããã°ã©ãã³ã°Gaucheã®14.3ã®ç·´ç¿åé¡(P203)ããã¦ã¿ãã write-to-string ãªãã¸ã§ã¯ããå¤é¨è¡¨ç¾æååã«ãããã®ãçµæã¨ãã¦è¿ãæç¶ãã writeæç¶ãã§æååãã¼ãã¸æ¸ãè¾¼ãã°ãcall-with-output-stringããã®ãã¼ãã«æ¸ãè¾¼ãã å 容ãçµæã¨ãã¦è¿â¦
ããã°ã©ãã³ã°Gaucheã®7.2ã®ç·´ç¿åé¡(P68)ããã¦ã¿ãã for-each-numbersã¨map-numbers ãããã¯ãfilteré¢æ°ã§numberã®ã¿ã«ãã£ã«ã¿ãªã³ã°ããããªã¹ãã«å¯¾ãã¦ãfor-eachã¾ãã¯mapãé©ç¨ããã ããªã®ã§ã以ä¸ã®ã¨ããã (define (for-each-numbers pred lâ¦