via 第20å æ¥æ¬èªã§ãk Ruby ããããã© Smalltalk ã§ãããï½ã Scalaã¯ã¡ã½ããåã«æ¥æ¬èªä½¿ããããScalaã¯æ¥æ¬èªããã°ã©ãã³ã°è¨èªã ã(è¨ããã)ã 1object JapaneseLanguage { 2 class Standard[A](self:A) { 3 def ã®[B](f:(A) => B) = f(self) 4 def ã[B](f:(A) => B) = f(self) 5 def ãã() = () 6 } 7 8 class PseudoKansai[A](self:A) { 9 def ã®ãª[B](f:(A) => B) = f(self) 10 def ããª[B](f:(A) => B) = f(self) 11 def ãããã() = () 12 } 13} 14 15 16def å¹³æ¹æ ¹(v:int) = Math.sq
æ²ã½ããã¦ã§ã¢æ ªå¼ä¼ç¤¾ã¯ãæ²éä¿¡ã·ã¹ãã æ ªå¼ä¼ç¤¾ããã³æ ªå¼ä¼ç¤¾æ²ã¤ã³ãã©ããã¯ã¨å¹³æ22å¹´10æ1æ¥ããã£ã¦åä½µãããã¾ãããæ°ä¼ç¤¾åã¯ãæ ªå¼ä¼ç¤¾OKIã½ããã¦ã§ã¢ã¨ãªãã¾ãã3社ãè¡ã£ã¦ããã¾ãäºæ¥ã¯æ°ä¼ç¤¾ã«ã¦å¾æ¥éãç¶ç¶ãããã¾ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}