2010-05-01ãã1ã¶æéã®è¨äºä¸è¦§
ä¸ã¤ã®å¤ãååã«æç¸ããã«è¤æ°ç®æã§ä½¿ãã£ã¦ã©ããããã ãSã³ã³ããã¼ã¿çãªãã®ãç¨æããã¦ãï¼ cube = (((*).((*)<*>id))<*>id) -- \x -> x * x * x fib = (flip(if'.(< 2))1)<*>((+).fib.(-1 +)<*>fib.(-2 +)) http://d.hatena.ne.jp/nishiohirokazuâ¦
ãã®éGaucheã§ä½ã£ãã©ã ãå¼ããã®å¤æããã°ã©ã (ã¨ãã®å¾ã®èª¿æ»)ããããã£ããã¨ã表ã«ã¾ã¨ãã¦ã¿ãã name in out memo I x x S K _ , W K , C K _ , R _ K M x x x O I , W I , W T Y x x (Y x) M2 L , U U , M2 (B M2 B) i x x S K V S K , S (O (K â¦
Schemeã®ã©ã ãå¼ã«å¯¾å¿ããã³ã³ããã¼ã¿è¡¨è¨ãæ±ããããã°ã©ã ãä½ã£ãã 使ãæ¹ lambdaãlambdaccã«ãã¦ãé常ã®lambdaã¨åãããã«å¼æ°ã¨æ¬ä½ãä¸ããã gosh> (lambdacc (x y z) (x (y z))) B gosh> (lambdacc (x y) (x (y y))) (C B M) ã½ã¼ã¹ã³ã¼ã (â¦
ããªã¢ã«ãã£ãºã ãªã âæ®éã®é¢æ° ä¾ï¼Cè¨èªç ï¼ã¤ã®å¼æ°(self)ã®åã«å¿ãã¦ããªã¢ã«ãã£ãºã âæ®éã®ãªãã¸ã§ã¯ãæåã®ã¡ã½ãã ä¾ï¼Smalltalkç å ¨ã¦ã®å¼æ°ã®åã«å¿ãã¦ããªã¢ã«ãã£ãºã âã¸ã§ããªãã¯ãã¡ã³ã¯ã·ã§ã³ ä¾ï¼CLOSç ããã«æ»ãå¤ã®åã«ãâ¦