ã½ã£ã¡ããç女主婦åºä¼ãï¼å·¨ä¹³ãæã¿åãï¼ããå°ãµããããã°ãããæ¢ã
ã½ã£ã¡ããç女主婦åºä¼ãï¼å·¨ä¹³ãæã¿åãï¼ããå°ãµããããã°ãããæ¢ã
Scalaã§è¤æ°è¡ã®ãªãã©ã«æååãæ±ãã¨ãã¯ã"""ã§å²ã£ã¦ããã¨ã©ã¯ã§ãã ãããããã¢ããã¥ã¡ã³ãã¨ããã¤ãã§ãããããGroovyãªããããã®å½¢å¼ã§ãããã¼ã
val fruits = List("apple", "banana", "avocado", "papaya") val countsToFruits = // count how many 'a' in each fruit fruits.groupBy(fruit => fruit.count(_ == 'a')) for (count, fruits) <- countsToFruits do println(s"with 'a' Ã $count = $fruits") // prints: with 'a' Ã 1 = List(apple) // prints: with 'a' Ã 2 = List(avocado) // prints: with 'a' Ã 3 = List(banana, papaya)
Welcome to the Scala Project Scala is now using Jira for bugs. Please go to this new URL: âhttps://issues.scala-lang.org If you had an account on trac, you can still use the same credentials on the new Jira bug tracking system, but with your username in lowercase. All the wiki pages can now be found at âhttps://wiki.scala-lang.org/display/SW/Home An archive of the old bugracker is available âhere
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}