Skip to content

Fix typos #712

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 24, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ba/tutorials/tour/_posts/2017-02-13-nested-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ language: ba
---

U Scali je moguće ugnježdavati definicije funkcija.
Sljedeći objekt sadrži funkciju `filter` za dobijanje vrijednosti iz liste cijelih brojeva koji su manji od vrijednosti praga (treshold):
Sljedeći objekt sadrži funkciju `filter` za dobijanje vrijednosti iz liste cijelih brojeva koji su manji od vrijednosti praga (threshold):

object FilterTest extends App {
def filter(xs: List[Int], threshold: Int) = {
Expand Down
2 changes: 1 addition & 1 deletion overviews/collections/trait-iterable.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ num: 4
languages: [ja, zh-cn]
---

The next trait from the top in the collections hierarchy is `Iterable`. All methods in this trait are defined in terms of an an abstract method, `iterator`, which yields the collection's elements one by one. The `foreach` method from trait `Traversable` is implemented in `Iterable` in terms of `iterator`. Here is the actual implementation:
The next trait from the top in the collections hierarchy is `Iterable`. All methods in this trait are defined in terms of an abstract method, `iterator`, which yields the collection's elements one by one. The `foreach` method from trait `Traversable` is implemented in `Iterable` in terms of `iterator`. Here is the actual implementation:

def foreach[U](f: Elem => U): Unit = {
val it = iterator
Expand Down
2 changes: 1 addition & 1 deletion sips/completed/_posts/2016-06-25-trailing-commas.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class Bippy(

## Implementation

The implementation of trailing commas is is limited to changing Parsers.scala in the Scala compiler. An implementation of this proposal can be found at [scala/scala#5245][].
The implementation of trailing commas is limited to changing Parsers.scala in the Scala compiler. An implementation of this proposal can be found at [scala/scala#5245][].

## Drawbacks/Trade-offs

Expand Down
2 changes: 1 addition & 1 deletion sips/pending/_posts/2016-09-09-inline-meta.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ A typical first line of a macro impl is `import c.universe._` that makes the ent

In addition to the compiler context, for every term parameter of a macro def, its macro impl
takes a term parameter that carries a representation of the corresponding argument of the macro application.
Macro impls can can also get ahold of representation of type arguments, but this functionality is unnecessary for this example.
Macro impls can also get ahold of representation of type arguments, but this functionality is unnecessary for this example.

A macro impl returns an abstract syntax tree, and this AST replaces the original macro application in the compilation pipeline.
This is how we're going to perform the LINQ translation of calls to `Query.map`.
Expand Down