From 43505887a331fbf647ba39a85bdf16c321ce8037 Mon Sep 17 00:00:00 2001
From: mihaylov <mihaylov@epfl.ch>
Date: Mon, 5 Apr 2004 10:13:55 +0000
Subject: - In chapter 8 corrected the type of the elemen...

- In chapter 8 corrected the type of the element of the NonEmptySet
---
 doc/reference/ExamplesPart.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'doc/reference/ExamplesPart.tex')

diff --git a/doc/reference/ExamplesPart.tex b/doc/reference/ExamplesPart.tex
index 299d573af7..f065da8978 100644
--- a/doc/reference/ExamplesPart.tex
+++ b/doc/reference/ExamplesPart.tex
@@ -2370,7 +2370,7 @@ class EmptySet[a <: Ord[a]] extends Set[a] {
 
 \begin{lstlisting}
 class NonEmptySet[a <: Ord[a]]
-        (elem:int, left: Set[a], right: Set[a]) extends Set[a] {
+        (elem:a, left: Set[a], right: Set[a]) extends Set[a] {
   def contains(x: a): boolean = 
     if (x < elem) left contains x
     else if (x > elem) right contains x
-- 
cgit v1.2.3

