Skip to content

Commit f40d63a

Browse files
committed
Don't mention C#
1 parent bb2a952 commit f40d63a

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

spec/12-the-scala-standard-library.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -422,12 +422,11 @@ used (it is `Object` on the Java platform).
422422
and `update` means element update.
423423

424424
Because of the syntactic sugar for `apply` and `update` operations,
425-
we have the following correspondences between Scala and Java/C# code for
425+
we have the following correspondences between Scala and Java code for
426426
operations on an array `xs`:
427427

428-
| | |
428+
|_Scala_ |_Java_ |
429429
|------------------|------------|
430-
|_Scala_ |_Java/C#_ |
431430
|`xs.length` |`xs.length` |
432431
|`xs(i)` |`xs[i]` |
433432
|`xs(i) = e` |`xs[i] = e` |
@@ -449,7 +448,7 @@ explained in the following.
449448

450449
#### Variance
451450

452-
Unlike arrays in Java or C#, arrays in Scala are _not_
451+
Unlike arrays in Java, arrays in Scala are _not_
453452
co-variant; That is, $S <: T$ does not imply
454453
`Array[$S$] $<:$ Array[$T$]` in Scala.
455454
However, it is possible to cast an array

spec/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ object-oriented and functional programming. It is a pure
3333
object-oriented language in the sense that every value is an
3434
object. Types and behavior of objects are described by
3535
classes. Classes can be composed using mixin composition. Scala is
36-
designed to work seamlessly with two less pure but mainstream
37-
object-oriented languages Java and C#.
36+
designed to work seamlessly with less pure but mainstream
37+
object-oriented languages like Java.
3838

3939
Scala is a functional language in the sense that every function is a
4040
value. Nesting of function definitions and higher-order functions are

0 commit comments

Comments
 (0)