diff --git a/_layouts/frontpage.html b/_layouts/frontpage.html index 92841a1db..61f66e263 100644 --- a/_layouts/frontpage.html +++ b/_layouts/frontpage.html @@ -80,7 +80,7 @@
So the type system doesn't feel so static.
+So the type system doesn’t feel so static.
Think "switch" on steroids. Match against class hierarchies, sequences, and more.
+Think “switch” on steroids. Match against class hierarchies, sequences, and more.
Invoke the higher-order method "partition", which takes a predicate (a function returning a Boolean) as its sole argument, using infix syntax. The two components of the result pair are assigned simultaneously to two new local variables using a tuple pattern. No need for clunky intermediate collections and for-loops.
+Invoke the higher-order method “partition”, which takes a predicate (a function returning a Boolean) as its sole argument, using infix syntax. The two components of the result pair are assigned simultaneously to two new local variables using a tuple pattern. No need for clunky intermediate collections and for-loops.
Enable pattern matching on classes and singleton objects using the case modifier. Match against trees, extracting its fields using variables in a pattern like "Binary(e, l, r)". +
Enable pattern matching on classes and singleton objects using the case modifier. Match against trees, extracting its fields using variables in a pattern like “Binary(e, l, r)”.
The type "List[Int]" of "l" is inferred automatically. The primary constructor of class "Person" assigns its arguments to public fields "name" and "age". +
The type “List[Int]” of “l” is inferred automatically. The primary constructor of class “Person” assigns its arguments to public fields “name” and “age”.
-
So the type system doesn't feel so static. Don't work for the type system. Let the type system work for you!
+So the type system doesn’t feel so static. Don’t work for the type system. Let the type system work for you!
Think "switch" on steroids. Match against class hierarchies, sequences, and more.
+Think “switch” on steroids. Match against class hierarchies, sequences, and more.