Skip to content

Commit f3201fd

Browse files
authored
Merge pull request #2378 from scala/remove-discourse-comments
Drop references to Discourse comments
2 parents 5787e45 + 533d497 commit f3201fd

File tree

153 files changed

+0
-544
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+0
-544
lines changed

_ja/tour/abstract-type-members.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,12 @@
22
layout: tour
33
title: 抽象型メンバー
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
96
num: 23
107
next-page: compound-types
118
previous-page: inner-classes
129
topics: abstract type members
1310
prerequisite-knowledge: variance, upper-type-bound
14-
1511
---
1612

1713
トレイトや抽象クラスのような抽象型は抽象型メンバーを持つことができます。

_ja/tour/annotations.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
layout: tour
33
title: アノテーション
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 32
117
next-page: packages-and-imports
128
previous-page: by-name-parameters
13-
149
---
1510

1611
アノテーションはメタ情報と定義を関連づけます。例えば、メソッドの前のアノテーション`@deprecated`はメソッドが使われたらコンパイラに警告を出力させます。

_ja/tour/automatic-closures.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
layout: tour
33
title: 型依存クロージャの自動構築
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
96
---
107

_ja/tour/basics.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
layout: tour
33
title: 基本
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 2
117
next-page: unified-types
128
previous-page: tour-of-scala
13-
149
---
1510

1611
このページでは、Scalaの基本を取り扱います。

_ja/tour/by-name-parameters.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
layout: tour
33
title: 名前渡しパラメータ
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 31
117
next-page: annotations
128
previous-page: operators
13-
149
---
1510

1611
*名前渡しのパラメータ*は使用された時に評価されます。それらは*値渡しパラメータ*とは対照的です。名前渡しのパラメータを作るには、単純に`=>`を型の前につけます。

_ja/tour/case-classes.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,11 @@
22
layout: tour
33
title: ケースクラス
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 11
117
next-page: pattern-matching
128
previous-page: multiple-parameter-lists
139
prerequisite-knowledge: classes, basics, mutability
14-
1510
---
1611

1712
ケースクラスはこれから論じるいくつかの差異はあるものの普通のクラスと似ています。

_ja/tour/classes.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,12 @@
22
layout: tour
33
title: クラス
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 4
117
next-page: traits
128
previous-page: unified-types
139
topics: classes
1410
prerequisite-knowledge: no-return-keyword, type-declaration-syntax, string-interpolation, procedures
15-
1611
---
1712

1813
Scalaにおけるクラスはオブジェクトを作るための設計図です。

_ja/tour/compound-types.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
layout: tour
33
title: 複合型
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 24
117
next-page: self-types
128
previous-page: abstract-type-members
13-
149
---
1510
ときどき、あるオブジェクトの型が、複数の他の型のサブタイプであると表現する必要が生じます。
1611
Scalaでは、これは*複合型*を用いて表現できます。複合型とはオブジェクトの型同士を重ねることです。

_ja/tour/default-parameter-values.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,11 @@
22
layout: tour
33
title: デフォルト引数
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 33
117
next-page: named-arguments
128
previous-page: annotations
139
prerequisite-knowledge: named-arguments, function syntax
14-
1510
---
1611

1712
Scalaはパラメータのデフォルト値を与えることができ、呼び出す側はこれらのパラメータを省略できます。

_ja/tour/extractor-objects.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
layout: tour
33
title: 抽出子オブジェクト
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 16
117
next-page: for-comprehensions
128
previous-page: regular-expression-patterns
13-
149
---
1510

1611
抽出子オブジェクトは`unapply`メソッドを持つオブジェクトです。

_ja/tour/for-comprehensions.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
layout: tour
33
title: for内包表記
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 17
117
next-page: generic-classes
128
previous-page: extractor-objects
13-
149
---
1510

1611
Scalaは*シーケンス内包表記*を表現するための軽量な記法を提供します。

_ja/tour/generic-classes.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,11 @@
22
layout: tour
33
title: ジェネリッククラス
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 18
117
next-page: variances
128
previous-page: for-comprehensions
139
assumed-knowledge: classes unified-types
14-
1510
---
1611
ジェネリッククラスはパラメータとして型を1つ受け取るクラスです。それらはコレクションクラスで特に役立ちます。
1712

_ja/tour/higher-order-functions.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
layout: tour
33
title: 高階関数
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 8
117
next-page: nested-functions
128
previous-page: mixin-class-composition
13-
149
---
1510

1611
高階関数は他の関数をパラメーターとして受け取る、もしくは結果として関数を返します。

_ja/tour/implicit-conversions.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
layout: tour
33
title: 暗黙の変換
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 27
117
next-page: polymorphic-methods
128
previous-page: implicit-parameters
13-
149
---
1510

1611
`S`から型`T`への暗黙の変換は`S => T`という型のimplicit値や、その型に一致するimplicitメソッドで定義されます。

_ja/tour/implicit-parameters.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
layout: tour
33
title: 暗黙のパラメータ
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 26
117
next-page: implicit-conversions
128
previous-page: self-types
13-
149
---
1510

1611
メソッドは _暗黙の_ パラメータのリストを持つことができ、パラメータリストの先頭には _implicit_ キーワードで印をつけます。

_ja/tour/inner-classes.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
layout: tour
33
title: 内部クラス
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 22
117
next-page: abstract-type-members
128
previous-page: lower-type-bounds
13-
149
---
1510

1611
Scalaではクラスが他のクラスをメンバーとして保持することが可能です。

_ja/tour/lower-type-bounds.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,11 @@
22
layout: tour
33
title: 下限型境界
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 21
117
next-page: inner-classes
128
previous-page: upper-type-bounds
139
prerequisite-knowledge: upper-type-bounds, generics, variance
14-
1510
---
1611

1712
[上限型境界](upper-type-bounds.html) は型を別の型のサブタイプに制限しますが、*下限型境界*は型が別の型のスーパータイプであることを宣言します。表現`B >: A`はパラメータ`B`または抽象型`B`が型`A`のスーパータイプであることを表します。ほとんどのケースで`A`はそのクラスの型パラメータであり、`B`はメソッドの型パラメータになります。

_ja/tour/mixin-class-composition.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,11 @@
22
layout: tour
33
title: ミックスインを用いたクラス合成
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 7
117
next-page: higher-order-functions
128
previous-page: tuples
139
prerequisite-knowledge: inheritance, traits, abstract-classes, unified-types
14-
1510
---
1611
ミックスインはクラスを構成するのに使われるトレイトです。
1712

_ja/tour/multiple-parameter-lists.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
layout: tour
33
title: 複数パラメータリスト(カリー化)
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 10
117
next-page: case-classes
128
previous-page: nested-functions
13-
149
---
1510

1611
メソッドは複数のパラメータリストを持てます。

_ja/tour/named-arguments.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,11 @@
22
layout: tour
33
title: 名前付き引数
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 34
117
next-page: packages-and-imports
128
previous-page: default-parameter-values
139
prerequisite-knowledge: function-syntax
14-
1510
---
1611

1712
メソッドを呼ぶ時、以下のように引数にパラメータ名でラベル付が可能です。

_ja/tour/nested-functions.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
layout: tour
33
title: ネストしたメソッド
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 9
117
next-page: multiple-parameter-lists
128
previous-page: higher-order-functions
13-
149
---
1510

1611
Scalaではメソッドの定義をネストする(_訳注:入れ子にする_)ことができます。

_ja/tour/operators.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,11 @@
22
layout: tour
33
title: 演算子
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 30
117
next-page: by-name-parameters
128
previous-page: type-inference
139
prerequisite-knowledge: case-classes
14-
1510
---
1611
Scalaでは演算子はメソッドです。パラメータを1つだけ持つメソッドであれば*中置演算子*として使えます。例えば、`+`はドット記法で呼び出せます。
1712

_ja/tour/package-objects.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
layout: tour
33
title: パッケージオブジェクト
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 36
117
previous-page: packages-and-imports
128
---

_ja/tour/packages-and-imports.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
layout: tour
33
title: パッケージとインポート
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 35
117
previous-page: named-arguments
128
next-page: package-objects

_ja/tour/pattern-matching.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,11 @@
22
layout: tour
33
title: パターンマッチング
44
language: ja
5-
6-
discourse: true
7-
85
partof: scala-tour
9-
106
num: 12
11-
127
next-page: singleton-objects
138
previous-page: case-classes
149
prerequisite-knowledge: case-classes, string-interpolation, subtyping
15-
1610
---
1711

1812
パターンマッチングは値をパターンに照合するための仕組みです。

0 commit comments

Comments
 (0)