You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Probably the doc should use a uniform style, such as a local def and an initializer expression for a val, to avoid confusion. But these semantics are part of the list of "subtle bullet points". So the tutorial doc should just explain the difference.
The example given for Streams fails to compile with this error:
https://github.com/scala/scala/blob/2.12.x/src/library/scala/collection/immutable/Stream.scala#L23-L38
The text was updated successfully, but these errors were encountered: