@@ -755,7 +755,7 @@ Racket.
755755@section{Symbols}
756756
757757One of the built-in datatypes we will use often in Racket is
758- that of a @emph{symbol}. A symbol is just an atomic peice of
758+ that of a @emph{symbol}. A symbol is just an atomic piece of
759759data. A symbol is written using the @racket[quote ] notation
760760@racket[(code:quote symbol-name)], which is abbreviated
761761@racket['symbol-name ]. What's allowable as a symbol name
@@ -965,7 +965,7 @@ representation of itself.
965965For example, @racket[(+ 1 2 )] is an expression. When run, it applies
966966the @emph{function} bound to the variable @racket[+] to the arguments
967967@racket[1 ] and @racket[2 ] and produces @racket[3 ]. On the other hand:
968- @racket['(+ 1 2 )] constructs a peice of data, namely, a list of three
968+ @racket['(+ 1 2 )] constructs a piece of data, namely, a list of three
969969elements. The first element is the @emph{symbol} @tt{+}, the second
970970element is @racket[2 ], the third element is @racket[3 ].
971971
@@ -989,7 +989,7 @@ then the @emph{expression} @racket[e] is evaluated and it's
989989value will be used in place of @tt{(unquote e)}.
990990
991991This gives us the ability to ``escape'' out of a quoted
992- peice of data and go back to expression mode.
992+ piece of data and go back to expression mode.
993993
994994If we think of @racket[quasiquote ] like @racket[quote ] in
995995terms of ``pushing in'' then the rules are exactly the same
@@ -1009,7 +1009,7 @@ instead as data.. @emph{unless we encounter a
10091009things as expressions.
10101010
10111011
1012- The last remaining peice is @racket[unquote-splicing ], which
1012+ The last remaining piece is @racket[unquote-splicing ], which
10131013is abbreviated with ``comma-at'': @racket[,@e] means @tt{
10141014 (unquote-splicing e)}. The @racket[unquote-splicing ] form is
10151015like @racket[unquote ] in that if it occurs within a
@@ -1048,7 +1048,7 @@ data. It doesn't contain anything and its only real purpose
10481048is to be distinguishable from @racket[node] structures. On
10491049the other hand a @racket[node] structure needs to be
10501050distinguishable from @racket[leaf]s, but also contain 3
1051- peices of data within it.
1051+ pieces of data within it.
10521052
10531053We can formulate definition of binary trees using only
10541054symbols and lists as:
0 commit comments