æ¬å½ã¯Scala Advent Calendarã®è¨äºã¨ãã¦æ¸ããã¨æã£ã¦ããã®ã§ãããæ¢ã«ã ãããåã¾ã£ã¦ãã¾ã£ã¦ããã®ã§ãèªåã®ããã°ã§æ¸ãã¾ããScalaistã®çããããã¬ã¼ã¹ãã«ãæ§æã使ã£ã¦ã¾ãããï¼ List(1, 2, 3, 4, 5).map(_ + 1) // List(2, 3, 4, 5, 6) ã¨ãã風ã«ãã¦ä½¿ãã¢ã¬ã§ãã使ã£ããã¨ã¯ãªãã¨ããScalaãã®ã§ã¼ã ã§ä½¿ã£ã¦ããããçãããã®ã§ã¼ã ã§ä½¿ã£ã¦ããããªãçãããä¸åº¦ã¯è¦ããã¨ãããã®ã§ã¯ãªããã¨æãã¾ãããã®æ§æãæ£ç¢ºã«ã¯ã Scala Language Specification 6.23.1ã§ãPlaceholder Syntax for Anonymous Functionsãã¨ãã¦å®ç¾©ããã¦ããæ©è½ã§ãããé·ãã®ã§ãã¬ã¼ã¹ãã«ãæ§æã¨ãã¾ããããã¡ãªã¿ã«ã scala> Math.abs _ re
{{#tags}}- {{label}}
{{/tags}}