documentation: correcting my broken example for heap-copy

This commit is contained in:
Danny Yoo 2012-11-03 15:40:15 -06:00
parent 6ab4085db3
commit 4901c6714e

View File

@ -136,7 +136,7 @@ heap's order. The heap is not modified.
@defproc[(heap-copy [h heap?]) heap?]{
Makes a copy of heap @racket[h].
@examples[#:eval the-eval
(define word-heap (make-heap string<=?))
(heap-add! word-heap "pile" "mound" "agglomerate" "cumulation")
(define a-copy (heap-copy word-heap))