use deprecated from manual for teachpacks
This commit is contained in:
parent
2992fa122d
commit
f95798c7b5
|
@ -11,9 +11,10 @@
|
|||
The teachpack provides two sets of functions: one for drawing into a canvas
|
||||
and one for reacting to canvas events.
|
||||
|
||||
@bold{Warning:} @emph{This teachpack is deprecated. Unless you're solving exercises
|
||||
taken from @emph{How To Design Programs}, we strongly encourage
|
||||
you to use the world teachpack instead; see @secref{world}.}
|
||||
@deprecated[(list @racketmodname[2htdp/image] " (probably in conjunction with " @racketmodname[2htdp/universe] ")")]{
|
||||
You may continue to use the library for solving exercises
|
||||
from @emph{How To Design Programs, First Edition} but do consider
|
||||
switching to @link["http://www.ccs.neu.edu/home/matthias/HtDP2e/"]{How To Design Programs, Second Edition} instead.}
|
||||
|
||||
@section[#:tag "drawing"]{Drawing on a Canvas}
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
@defmodule[#:require-form beginner-require htdp/image]
|
||||
|
||||
@italic{This teachpack is deprecated. Please use @racketmodname[2htdp/image] for
|
||||
any new code.}
|
||||
@deprecated[@racketmodname[2htdp/image]]{For the foreseeable time, we will
|
||||
continue to support the teachpack for your existing programs.}
|
||||
|
||||
The teachpack provides functions for constructing and manipulating
|
||||
images. Basic, colored images are created as outlines or solid
|
||||
|
|
|
@ -12,19 +12,9 @@
|
|||
|
||||
@defmodule[#:require-form beginner-require htdp/world #:use-sources (htdp/image)]
|
||||
|
||||
@(make-table (make-with-attributes 'centered
|
||||
`((cellspacing . "6")
|
||||
(height . "600")
|
||||
(width . "70%")))
|
||||
(list (list (list (make-paragraph
|
||||
(list "This teachpack is deprecated. Use "
|
||||
(racketmodname 2htdp/universe)
|
||||
" instead. See the"
|
||||
" " (secref "htdp-port"
|
||||
#:tag-prefixes '("2htdp")
|
||||
;#:doc '(lib "teachpack/teachpack.scrbl")
|
||||
)
|
||||
" section for information on how to adapt old code to the new teachpack."))))))
|
||||
@deprecated[@racketmodname[2htdp/universe]]{
|
||||
For guidance on how to convert your @racketmodname[htdp/world] programs
|
||||
to use @racketmodname[2htdp/universe], see @secref[#:tag-prefixes '("2htdp")]{htdp-port}}
|
||||
|
||||
@emph{Note}: For a quick and educational introduction to the teachpack, see
|
||||
@link["http://www.ccs.neu.edu/home/matthias/HtDP/Prologue/book.html"]{How
|
||||
|
|
Loading…
Reference in New Issue
Block a user