T._2 // Part of a method name, such as tuple gettersġ_000_000 // Numeric literal separator (Scala 2.13+)Īn excellent explanation of the uses of the underscore is Scala _ magic. M _ // Eta expansion of method into method valueĬase _ => // Wild card pattern - matches anythingįor (_ ! // An underscore must separate alphanumerics from symbols on identifiers _ + _ // Anonymous function placeholder parameter Ignored parameters List(1, 2, 3) foreach // Exception, everything except Predefĭef f] // Higher kinded type parameter The Scala compiler generates byte code that is nearly identical to that generated by the Java compiler. Scala's operational characteristics are the same as Java's. For bugs, see scala/bug Scala 14.1k 3. Scala has the same compiling model as Java and C, namely separate compiling and dynamic class loading, so that Scala code can call Java libraries. Higher kinded type parameters case class A,T](a: K) The Scala Programming Language 282 followers Switzerland scalalang Overview Repositories Packages People README.md Looking for Scala 3 It's here: Pinned scala Public Scala 2 compiler and standard library.
0 Comments
Leave a Reply. |