Little tweaks to the *SL documentation
(cherry picked from commit 91d5c92415
)
This commit is contained in:
parent
f468769a75
commit
ae6cf4da07
|
@ -2,7 +2,7 @@
|
||||||
@(require "common.rkt" "std-grammar.rkt" "prim-ops.rkt"
|
@(require "common.rkt" "std-grammar.rkt" "prim-ops.rkt"
|
||||||
(for-label lang/htdp-advanced))
|
(for-label lang/htdp-advanced))
|
||||||
|
|
||||||
@title[#:style 'toc #:tag "advanced"]{Advanced Student}
|
@title[#:tag "advanced"]{Advanced Student}
|
||||||
|
|
||||||
@declare-exporting[lang/htdp-advanced]
|
@declare-exporting[lang/htdp-advanced]
|
||||||
|
|
||||||
|
@ -266,6 +266,9 @@ Like @racket[when], but the @racket[body-expression] is evaluated when the
|
||||||
|
|
||||||
@section[#:tag "advanced-common-syntax"]{Common Syntax}
|
@section[#:tag "advanced-common-syntax"]{Common Syntax}
|
||||||
|
|
||||||
|
The following syntaxes behave the same in the @emph{Advanced}
|
||||||
|
level as they did in the @secref["intermediate-lam"] level.
|
||||||
|
|
||||||
|
|
||||||
@(intermediate-forms lambda
|
@(intermediate-forms lambda
|
||||||
quote
|
quote
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@title[#:style 'toc #:tag "beginner-abbr"]{Beginning Student with List Abbreviations}
|
@title[#:tag "beginner-abbr"]{Beginning Student with List Abbreviations}
|
||||||
|
|
||||||
@declare-exporting[lang/htdp-beginner-abbr]
|
@declare-exporting[lang/htdp-beginner-abbr]
|
||||||
|
|
||||||
|
@ -108,7 +108,10 @@ also be written with @racket[unquote-splicing].}
|
||||||
|
|
||||||
|
|
||||||
@; ----------------------------------------------------------------------
|
@; ----------------------------------------------------------------------
|
||||||
@section[#:tag "beginner-abbr-common-syntax"]{Common Syntax}
|
@section[#:tag "beginner-abbr-common-syntax"]{Common Syntaxes}
|
||||||
|
|
||||||
|
The following syntaxes behave the same in the @emph{Beginner with List
|
||||||
|
Abbreviations} level as they did in the @secref["beginner"] level.
|
||||||
|
|
||||||
@(define-forms/normal define)
|
@(define-forms/normal define)
|
||||||
@(define-form/explicit-lambda define lambda)
|
@(define-form/explicit-lambda define lambda)
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
(for-label lang/htdp-beginner))
|
(for-label lang/htdp-beginner))
|
||||||
|
|
||||||
|
|
||||||
@title[#:style 'toc #:tag "beginner"]{Beginning Student}
|
@title[#:tag "beginner"]{Beginning Student}
|
||||||
|
|
||||||
@declare-exporting[lang/htdp-beginner #:use-sources (lang/htdp-beginner lang/private/teachprims)]
|
@declare-exporting[lang/htdp-beginner #:use-sources (lang/htdp-beginner lang/private/teachprims)]
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#lang scribble/doc
|
#lang scribble/doc
|
||||||
@(require "common.rkt" (for-label lang/htdp-beginner))
|
@(require "common.rkt" (for-label lang/htdp-beginner))
|
||||||
|
|
||||||
@title[#:tag "top"]{@italic{How to Design Programs} Languages}
|
@title[#:style 'toc #:tag "top"]{@italic{How to Design Programs} Languages}
|
||||||
|
|
||||||
The languages documented in this manual are provided by DrRacket to be
|
The languages documented in this manual are provided by DrRacket to be
|
||||||
used with the @italic{@link["http://www.htdp.org/"]{How to Design
|
used with the @italic{@link["http://www.htdp.org/"]{How to Design
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
@(require "common.rkt" "std-grammar.rkt" "prim-ops.rkt"
|
@(require "common.rkt" "std-grammar.rkt" "prim-ops.rkt"
|
||||||
(for-label lang/htdp-intermediate-lambda))
|
(for-label lang/htdp-intermediate-lambda))
|
||||||
|
|
||||||
@title[#:style 'toc #:tag "intermediate-lam"]{Intermediate Student with Lambda}
|
@title[#:tag "intermediate-lam"]{Intermediate Student with Lambda}
|
||||||
|
|
||||||
@declare-exporting[lang/htdp-intermediate-lambda]
|
@declare-exporting[lang/htdp-intermediate-lambda]
|
||||||
|
|
||||||
|
@ -92,6 +92,9 @@ the function.}
|
||||||
|
|
||||||
@section[#:tag "intm-w-lambda-common-syntax"]{Common Syntax}
|
@section[#:tag "intm-w-lambda-common-syntax"]{Common Syntax}
|
||||||
|
|
||||||
|
The following syntaxes behave the same in the @emph{Intermediate with Lambda}
|
||||||
|
level as they did in the @secref["intermediate"] level.
|
||||||
|
|
||||||
@(define-forms/normal define)
|
@(define-forms/normal define)
|
||||||
|
|
||||||
@(prim-forms ("intermediate-lam")
|
@(prim-forms ("intermediate-lam")
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
(for-label lang/htdp-intermediate))
|
(for-label lang/htdp-intermediate))
|
||||||
|
|
||||||
|
|
||||||
@title[#:style 'toc #:tag "intermediate"]{Intermediate Student}
|
@title[#:tag "intermediate"]{Intermediate Student}
|
||||||
|
|
||||||
@declare-exporting[lang/htdp-intermediate]
|
@declare-exporting[lang/htdp-intermediate]
|
||||||
|
|
||||||
|
@ -65,6 +65,9 @@
|
||||||
|
|
||||||
@section[#:tag "intermediate-common-syntax"]{Common Syntax}
|
@section[#:tag "intermediate-common-syntax"]{Common Syntax}
|
||||||
|
|
||||||
|
The following syntaxes behave the same in the @emph{Intermediate} level as they
|
||||||
|
did in the @secref["beginner-abbr"] level.
|
||||||
|
|
||||||
@(define-forms/normal define)
|
@(define-forms/normal define)
|
||||||
@(define-form/explicit-lambda define lambda)
|
@(define-form/explicit-lambda define lambda)
|
||||||
|
|
||||||
|
|
|
@ -101,9 +101,10 @@ not appreciate anyway).
|
||||||
@list[@para{function header}
|
@list[@para{function header}
|
||||||
@para{@samp{after define}, @samp{after the name},
|
@para{@samp{after define}, @samp{after the name},
|
||||||
@samp{after the first argument}, ...}]
|
@samp{after the first argument}, ...}]
|
||||||
@list[@para{keyword}
|
@list[@para{keyword, form, syntax}
|
||||||
@para{mention the construct directly by name, such as
|
@para{mention the construct directly by name, such as
|
||||||
@samp{expected a variable but found a cond}}]
|
@samp{expected a variable but found a cond}. Use @samp{syntax}
|
||||||
|
only when talking about many constructs in aggregate.}]
|
||||||
@list[@para{built-in} @para{Nothing --- avoid this term}]
|
@list[@para{built-in} @para{Nothing --- avoid this term}]
|
||||||
@list[@para{macro} @para{Nothing --- avoid this term}]]]
|
@list[@para{macro} @para{Nothing --- avoid this term}]]]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user