From c8d605a8cc711e25e7a65e8ab9208a32f243d8e5 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Wed, 5 May 2021 12:54:19 -0600 Subject: [PATCH] doc: clarification on `place` example Closes #3784 --- pkgs/racket-doc/scribblings/reference/places.scrbl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/racket-doc/scribblings/reference/places.scrbl b/pkgs/racket-doc/scribblings/reference/places.scrbl index 477795c4e5..08d9990a54 100644 --- a/pkgs/racket-doc/scribblings/reference/places.scrbl +++ b/pkgs/racket-doc/scribblings/reference/places.scrbl @@ -91,12 +91,13 @@ message to each, and then waits for the places to terminate: (map place-wait pls)) ] -The @filepath{place-worker.rkt} module must export the +The @filepath{place-worker.rkt} module (in a file that +is separate from the above code) must export the @racket[place-main] function that each place executes, where @racket[place-main] must accept a single @tech{place channel} argument: -@racketmod[ +@racketmod[#:file "place-worker.rkt" racket (provide place-main)