This commit is contained in:
2026-05-27 14:50:40 +02:00
parent fc0fce6657
commit ad6d47023b
+11 -5
View File
@@ -732,8 +732,14 @@ harness rather than hiding raw JavaScript inside the feature implementation.
@section{Further examples} @section{Further examples}
The companion document @other-doc['(lib "jsmaker/scrbl/usecases.scrbl")] The companion document @filepath{scrbl/usecases.scrbl} contains practical
contains practical examples such as DOM manipulation, @tt{Set}, currying, examples such as DOM manipulation, @tt{Set}, currying, object destructuring,
object destructuring, timers, @tt{fetch}, sorting, binary search, and map-based timers, @tt{fetch}, sorting, binary search, and map-based counting. Each use
counting. Each use case shows the Racket/js-maker source, representative case shows the Racket/js-maker source, representative JavaScript output, and the
JavaScript output, and the behavior tested by the regression suite. behavior tested by the regression suite.
When the documentation is rendered with @exec{raco scribble}, the use-case
manual is normally emitted as a separate document next to this one. The explicit
file name is used here instead of a cross-document reference because the latter
can render as an unresolved @tt{(part ... "top")} tag when the two documents are
built outside Racket's installed documentation index.