Skip to content

Commit

Permalink
little problems 3
Browse files Browse the repository at this point in the history
  • Loading branch information
albasile committed Jan 19, 2013
1 parent b54a053 commit 884fae3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions documentation/src/reference/pt-BR/ExamplesPart.tex
Expand Up @@ -2602,8 +2602,8 @@ \section{Anotações de Variância}\label{sec:first-arrays}
class Array[+A] {
def apply(index: Int): A
def update(index: Int, elem: A)
^ $\mbox{\sl covariant type parameter}$ A
$\mbox{\sl appears in contravariant position.}$
^ $\mbox{\sl o tipo parâmetro covariante}$ A
$\mbox{\sl aparece na posição contravariante.}$
}
\end{lstlisting}

Expand All @@ -2619,8 +2619,8 @@ \section{Anotações de Variância}\label{sec:first-arrays}
\begin{lstlisting}
class Stack[+A] {
def push(x: A): Stack[A] =
^ $\mbox{\sl covariant type parameter}$ A
$\mbox{\sl appears in contravariant position.}$
^ $\mbox{\sl o tipo parâmetro covariante}$ A
$\mbox{\sl aparece na posição contravariante.}$
\end{lstlisting}

Isto é uma pena, porque diferente de vetores, pilhas são estruturas de dados
Expand Down

0 comments on commit 884fae3

Please sign in to comment.