Skip to content

Commit

Permalink
Fixed documentation to use Carl's scribble planet package. Also used …
Browse files Browse the repository at this point in the history
…schemeid on the unbound variables.
  • Loading branch information
Danny Yoo committed Oct 23, 2009
1 parent 1374bc2 commit 15158b0
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions manual.scrbl
@@ -1,5 +1,7 @@
#lang scribble/manual

@(require (planet cce/scheme:6:0/scribble))
@(require (for-syntax (planet cce/scheme:6:0/scribble)))

@(require (for-syntax scheme/base))
@(define-syntax (mobyblock stx)
Expand All @@ -10,7 +12,7 @@
[column 0]
[position (syntax-position #'header)]
[planet-symbol 'planet]
[moby-symbol 'dyoo/moby:1]
[moby-symbol (this-package-version-symbol)]
[planet-symbol-length (string-length (symbol->string planet-symbol))]
[moby-symbol-length (string-length (symbol->string moby-symbol))])
(with-syntax ([planet-mod (datum->syntax #f 'planet (list source-name
Expand All @@ -19,7 +21,7 @@
position
(string-length
(symbol->string planet-symbol))))]
[lang (datum->syntax #f 'dyoo/moby:1 (list source-name
[lang (datum->syntax #f moby-symbol (list source-name
line
(+ column planet-symbol-length 1)
(+ position planet-symbol-length 1)
Expand Down Expand Up @@ -128,7 +130,7 @@ reacts by re-drawing the web page.


@section{The Moby World API}
@declare-exporting[(planet dyoo/moby:1/src/moby-lang)]
@(declare-exporting/this-package [src/moby-lang] [])


@defproc[(js-big-bang (a-world world) (handlers handler?) ...) void]{
Expand Down Expand Up @@ -275,7 +277,8 @@ to the button.
(list (js-div)
(list (js-div) (list (js-text (format "I see: ~s~n" w))))
(list (js-div) (list input-node))
(list (js-div) (list (js-button refresh) (list (js-text "Update!"))))))
(list (js-div) (list (js-button refresh)
(list (js-text "Update!"))))))

(define (draw-css w)
'())
Expand Down Expand Up @@ -938,10 +941,10 @@ same meaning as in @link["http://docs.plt-scheme.org/htdp-langs/advanced-prim-op

@subsection{Unimplemented forms}
The following ASL forms are currently unimplemented:
@itemize[@item{@scheme[begin0]}
@item{@scheme[delay]}
@item{@scheme[shared]}
@item{@scheme[recur]}
@item{@scheme[when]}
@item{@scheme[unless]}
@itemize[@item{@schemeid[begin0]}
@item{@schemeid[delay]}
@item{@schemeid[shared]}
@item{@schemeid[recur]}
@item{@schemeid[when]}
@item{@schemeid[unless]}
]

0 comments on commit 15158b0

Please sign in to comment.