Przeglądaj źródła

fix example code type signature

xc42 2 lat temu
rodzic
commit
aeef462b80
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      book.tex

+ 1 - 1
book.tex

@@ -16940,7 +16940,7 @@ a local variable of the enclosing function:
 \begin{minipage}{\textwidth}
 {\if\edition\racketEd
 \begin{lstlisting}
-(define (f []) : Integer
+(define (f) : ( -> Integer)
   (let ([x 0])
     (let ([g (lambda: () : Integer x)])
       (begin