From 8e8fcef782db7440097366b9bf07ab67c5084cac Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Tue, 3 Jan 2017 10:57:12 -0800 Subject: [PATCH] fix broken link to extractors paper --- ba/tutorials/tour/extractor-objects.md | 2 +- es/tutorials/tour/extractor-objects.md | 2 +- ko/tutorials/tour/extractor-objects.md | 2 +- tutorials/tour/extractor-objects.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ba/tutorials/tour/extractor-objects.md b/ba/tutorials/tour/extractor-objects.md index 83264dd395..8652f0185c 100644 --- a/ba/tutorials/tour/extractor-objects.md +++ b/ba/tutorials/tour/extractor-objects.md @@ -49,5 +49,5 @@ Ovaj mehanizam se koristi naprimjer za uzorak `case List(x1, ..., xn)`. Ekstraktori čine kod lakšim za održavanje. Za više detalja, pročitajte dokument -["Matching Objects with Patterns"](http://lamp.epfl.ch/~emir/written/MatchingObjectsWithPatterns-TR.pdf) +["Matching Objects with Patterns"](https://infoscience.epfl.ch/record/98468/files/MatchingObjectsWithPatterns-TR.pdf) (u sekciji 4) od Emir, Odersky i Williams (Januar 2007). diff --git a/es/tutorials/tour/extractor-objects.md b/es/tutorials/tour/extractor-objects.md index 5c7daa6a32..da9a22da2f 100644 --- a/es/tutorials/tour/extractor-objects.md +++ b/es/tutorials/tour/extractor-objects.md @@ -34,4 +34,4 @@ El tipo de retorno de un método `unapply` debería ser elegido de la siguiente Algunas veces, el número de sub valores es fijo y nos gustaría retornar una secuencia. Por esta razón, siempre es posible definir patrones a través de `unapplySeq`. El último sub valor de tipo `Tn` tiene que ser `Seq[S]`. Este mecanismo es usado por ejemplo en el patrón `case List(x1, ..., xn)`. -Los objetos extractores pueden hacer el código más mantenible. Para más detalles lea el paper ["Matching Objects with Patterns (Reconociendo objetos con patrones)"](http://lamp.epfl.ch/~emir/written/MatchingObjectsWithPatterns-TR.pdf) (ver sección 4) por Emir, Odersky y Williams (Enero de 2007). +Los objetos extractores pueden hacer el código más mantenible. Para más detalles lea el paper ["Matching Objects with Patterns (Reconociendo objetos con patrones)"](https://infoscience.epfl.ch/record/98468/files/MatchingObjectsWithPatterns-TR.pdf) (ver sección 4) por Emir, Odersky y Williams (Enero de 2007). diff --git a/ko/tutorials/tour/extractor-objects.md b/ko/tutorials/tour/extractor-objects.md index f336baf68e..e6e56f0aa5 100644 --- a/ko/tutorials/tour/extractor-objects.md +++ b/ko/tutorials/tour/extractor-objects.md @@ -35,6 +35,6 @@ language: ko 때론 하위 값의 개수가 미리 고정돼 시퀀스를 반환하고 싶을 때도 있다. 이런 이유로 `unapplySeq`를 통해 패턴을 정의할 수 있다. 마지막 하위 값의 타입 `Tn`은 반드시 `Seq[S]`여야 한다. 이 기법은 `case List(x1, ..., xn)`과 같은 패턴에 사용된다. -추출자는 코드의 유지 관리성을 향상시켜준다. 더욱 자세한 내용은 Emir, Odersky, Willians의 ["패턴을 통한 오브젝트의 매칭"](http://lamp.epfl.ch/~emir/written/MatchingObjectsWithPatterns-TR.pdf)(2007년 1월) 4장을 읽어보도록 하자. +추출자는 코드의 유지 관리성을 향상시켜준다. 더욱 자세한 내용은 Emir, Odersky, Willians의 ["패턴을 통한 오브젝트의 매칭"](https://infoscience.epfl.ch/record/98468/files/MatchingObjectsWithPatterns-TR.pdf)(2007년 1월) 4장을 읽어보도록 하자. 윤창석, 이한욱 옮김 diff --git a/tutorials/tour/extractor-objects.md b/tutorials/tour/extractor-objects.md index 736c1bf1af..e46c8ddb26 100644 --- a/tutorials/tour/extractor-objects.md +++ b/tutorials/tour/extractor-objects.md @@ -38,4 +38,4 @@ The return type of an `unapply` should be chosen as follows: Sometimes, the number of sub-values is fixed and we would like to return a sequence. For this reason, you can also define patterns through `unapplySeq`. The last sub-value type `Tn` has to be `Seq[S]`. This mechanism is used for instance in pattern `case List(x1, ..., xn)`. -Extractors can make code more maintainable. For details, read the paper ["Matching Objects with Patterns"](http://lamp.epfl.ch/~emir/written/MatchingObjectsWithPatterns-TR.pdf) (see section 4) by Emir, Odersky and Williams (January 2007). +Extractors can make code more maintainable. For details, read the paper ["Matching Objects with Patterns"](https://infoscience.epfl.ch/record/98468/files/MatchingObjectsWithPatterns-TR.pdf) (see section 4) by Emir, Odersky and Williams (January 2007).