File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ Scala is a pure object-oriented language in the sense that
155
155
* everything* is an object, including numbers or functions. It
156
156
differs from Java in that respect, since Java distinguishes
157
157
primitive types (such as ` boolean ` and ` int ` ) from reference
158
- types, and does not enable one to manipulate functions as values .
158
+ types.
159
159
160
160
### Numbers are objects
161
161
@@ -190,7 +190,7 @@ prevents `1` from being interpreted as a `Double`.
190
190
191
191
### Functions are objects
192
192
193
- Perhaps more surprising for the Java programmer, functions are also
193
+ Functions are also
194
194
objects in Scala. It is therefore possible to pass functions as
195
195
arguments, to store them in variables, and to return them from other
196
196
functions. This ability to manipulate functions as values is one of
You can’t perform that action at this time.
0 commit comments