36. 言語仕様の一次情報
• Scala Reference
– sbaz install scala-documentation
• The Scala Language Specification Version 2.8
– ChangeLogより抜粋
37. • Changes in Version 2.8.0
– Trailing commas
• Trailing commas in expression, argument, type or pattern sequences are no longer
supported.
• Changes in Version 2.8 (under development)
– Changed visibility rules for nested packages (where done?)
– Changed visibility rules in §2 so that packages are no longer treated specially.
– Added section §3.5.3 on weak conformance. Relaxed type rules for
conditionals,match expressions, try expressions to compute their result type
using least upper bound wrt weak conformance. Relaxed type rule for local type
inference so that argument types need only weekly conformto inferred formal
parameter types. Added section on numeric widening in §6.25 to support weak
conformance.
– Tightened rules to avpod (avoidのtypo?) accidential overrides in §5.1.4.
– Removed class literals.
– Added section §7.4 on context bounds.
– Clarified differences between isInstanceOf and pattern matches (§12.1).
– Allowed implicit modifier on function literals with a single parameter (§6.23).