2011-11-01ãã1ã¶æéã®è¨äºä¸è¦§
APIãè¦ã¦ã¿ãããæå¤ã¨æ°ãå°ãªãã£ãã®ã§å¢ãã§ãã®ã¾ã¾IntWããã£ã¦ã¿ã¾ããã ordering å®è¡ããã¨ãOrderingãã¬ã¤ãã®ãµãã¯ã©ã¹ãEQãGTãLTãè¿ã£ã¦ãã¾ããããããã0ãæ£ã®æ°ãè² ã®æ°ã«ãããã³ã°ããã¦ãã模æ§ã println("-10 ordering => " +â¦
ä»æé ã®æ´æ°ã§ãScalazãã¯ããã¾ããã¨æ¸ãã¾ããããæ©ã ã«ä»äºã«å¿æ®ºããã¦ããã®ã§ãããã¾ã触ãã¦ã¾ããã§ãããä»å¾ãå¿ããã®ã§ãããã§çµäºï¼ã¨ãªãã®ããªãã ããªãã¨ããæãã§ãã®ã§ãåéã«å°ããã¤éãã§ãããã¨ã«ãã¾ãããã£ã¦ãæ¬å½ã«æ´â¦
ä¹ ã ã®æ´æ°ã§ããå é±æ«ãå ã é±æ«ã¯å ±ã«åºå¤ã ã£ãããããããã«ããã°æ´æ°ã©ãããããªãã£ãã§ããããâ¦ãä»é±æ«ã¯ã両æ¹ã¨ããä¼ã¿ã§ããã¾ãã次ã®é±æ«ãä¼ã¿ã¨ãªãå¯è½æ§ã¯ããã£ããå¾®å¦ãªã®ã§ããâ¦ããã¦ãGaucheæ¬ãçæã«Schemeï¼Gaucheã®åå¼·ãâ¦
æè¿ãæ¥æ¬ã®Scalaçéã§ååãããç®ã«ãããã®ã§ãScalazã¨ããã©ã¤ãã©ãªãããã¾ããScalaz http://code.google.com/p/scalaz/Scalaæ¨æºã©ã¤ãã©ãªã¨J2SEã«ã®ã¿ä¾åãã¦ããã©ã¤ãã©ãªã§ãScalaã®æ¨æºã©ã¤ãã©ãªãè£ããã¨ãç®çã«ä½ããã¦ããã£ã½ãã§â¦
æ¸ç±ãããã°ã©ãã³ã°Gaucheããååãããèªãã ãæ¸ãããããã®ã§ãã¡ãã£ã¨ãããµã³ãã«ã¨ãã¦ãcatï¼grepããã©ããæ¸ãã¦éãã§ã¿ããã¨æãã¾ããã¤ã¡ã¼ã¸çã«ã¯Linuxã³ãã³ã㧠$ cat [ãã¡ã¤ã«å] [ãã¡ã¤ã«å] [ãã¡ã¤ã«å] ... | grep [æ£è¦è¡¨ç¾]â¦
ããã¾ã§Lispã§ã³ã¡ã³ãã¨ããã°ã;ãããç¥ããªãã£ãã®ã§ããã3種é¡ãããããã§ããç¥ããªãã£ããã®ã»ã©ä¾¿å©ãªã®ã§ãã¡ãã£ã¨æ¸ãã¦ãããã¨æãã¾ãã ã³ã¡ã³ãã®ç¨®é¡ è¡ã³ã¡ã³ã ; ããã¯ã³ã¡ã³ãã§ã Lispã§ã³ã¡ã³ãã¨ããã°ãå人çã«ã¯ããã®ã¤ã¡â¦
ååã¤ã³ã¹ãã¼ã«ãã¦ãããã¤ãGaucheããã°ã©ãã³ã°ããã¦éãã§ããã®ã§ããããã§ã»ãã®è§¦ãã®é¨åãæ¸ãã¦ããã¾ããããã¾ãã¯ãã¨ããããHello Worldããããã¹ã¯ãªããã¨ãã¦è¨è¿°ãã¦ããã¾ããSchemeã§ã¯æ¡å¼µåãã.scmãã¨ããããã§ããã®æ¡å¼µåâ¦
èªåã¯ç°¡åãªããã°ã©ã ãæ¸ãæã«ã¯ãããã¦ãEmacsã使ãã¾ããGaucheã¯Lispç³»ã®ãããEmacsã§æ¸ããæ¹ãé½åãããã£ã½ãã®ã§ä»åããã¡ãã使ç¨ãæ¸ç±ãããã°ã©ãã³ã°Gaucheããè¦ãã¨ã.emacsã®è¨å®ãè¼ã£ã¦ããã®ã§ãã¡ãããã®ã¾ã¾å©ç¨ãä»ã®ãµã¤ãâ¦
å æ¥ãæ¸ç±ãããã°ã©ãã³ã°Gaucheããè³¼å ¥ãã¾ãããããã°ã©ãã³ã°Gaucheä½è : Kahuaããã¸ã§ã¯ã,å·åå²æåºç社/ã¡ã¼ã«ã¼: ãªã©ã¤ãªã¼ã¸ã£ãã³çºå£²æ¥: 2008/03/14ã¡ãã£ã¢: 大åæ¬è³¼å ¥: 22人 ã¯ãªãã¯: 713åãã®ååãå«ãããã° (244件) ãè¦ãGaucheâ¦
å¾ã§ã¾ãæ»ã£ã¦ããã¤ããã§ãããéå®ç¶ç¶ãåå¼·ãããã¨æã£ã¦ããã®ã§ä»ã®æç¹ã§åèã«ãªããããªãã¼ã¸ãã¡ã¢ãScalaã®è«æ http://lamp.epfl.ch/~rompf/continuations-icfp09.pdfGaucheã¨Scalaã§éå®ç¶ç¶ã試ãã¦ããæ¥è¨ http://d.hatena.ne.jp/einbliâ¦
ããã§ãããå ¬å¼ï¼ãããã¯ããã«è¿ãã³ãã¥ããã£ï¼ï¼ã«ããããããã³ã¼ãã£ã³ã°ã¹ã¿ã¤ã«ã®ã¾ã¨ããåºã¦ããã¨ãé常ã«å¬ããã§ããScala Style Guide http://docs.scala-lang.org/style/ï¼å¤§å ï¼Community-driven documentation for Scala http://docs.sâ¦