ååããä¸å¹´ä»¥ä¸ãçµéãã¦ãããã©ãæè¿lambda_driver.gemã«æ©è½ã追å ããã®ã§ããã®ãã¨ã«ã¤ãã¦æ¸ããã¨æãã Rubyã§ãã¢ãâ¦â¦ã£ã½ãé¢æ°åæãå®è£ ãã話ã ã Rubyã§é¢æ°åæã¨ããããã®ã§ lambda_driver.gem ã¨ããã®ãä½ã£ã - ( êªâêª) ããããæ¥è¨ é¢æ°åæ é¢æ°åæã«ã¤ãã¦ã¯ä»¥åã«æ¸ããã®ã§ããã¡ããè¦ã¦æ¬²ããã ãé¢æ°åRubyãã¨ããç (2) - é¢æ°åæ Proc#compose - ( êªâêª) ããããæ¥è¨ ããããããã¦ããã¨ãé¢æ°åæã¨ã¯ã é¢æ°gã¨é¢æ°fãããg(f(x))ã¨ããé¢æ°hãæ°ãã«ä½ãåºããã¨ã ã (g â f)(x) = g(f(x)) é¢æ°gã¨é¢æ°fã®åæé¢æ°g â fã«å¼æ°xã渡ããçµæã¯ãé¢æ°gã«f(x)ã®çµæã渡ãããã®ã¨çãããã¤ã¾ãããã®ãããªæä½ã§ããã f = lambda{|x| x + 1
{{#tags}}- {{label}}
{{/tags}}