From ac85e14527b9cd2e335922773b6117c479c98476 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Tue, 16 Oct 2007 16:09:22 +0000 Subject: [PATCH] fix planet require of random.plt svn: r7511 --- collects/scribblings/guide/module-paths.scrbl | 11 ++++++++--- collects/scribblings/scribble/scribble.scrbl | 2 ++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/collects/scribblings/guide/module-paths.scrbl b/collects/scribblings/guide/module-paths.scrbl index d39470dddc..d98d58dccc 100644 --- a/collects/scribblings/guide/module-paths.scrbl +++ b/collects/scribblings/guide/module-paths.scrbl @@ -99,9 +99,14 @@ _end-nat)] matches any number in the range @scheme[_start-nat] to @scheme[nat]. A @scheme[(- nat)] matches @scheme[nat] or lower. @examples[ -(module m (lib "big/lang.ss") - (require (planet "random.ss" ("schematics" "random.plt" 1 0))) - (display (random-gaussian))) +(eval:alts + (module m (lib "big/lang.ss") + (require (planet "random.ss" ("schematics" "random.plt" 1 0))) + (display (random-gaussian))) + (void)) +(eval:alts + (require m) + (display 0.9050686838895684)) ] } diff --git a/collects/scribblings/scribble/scribble.scrbl b/collects/scribblings/scribble/scribble.scrbl index 1d49bbea62..74055fd1fe 100644 --- a/collects/scribblings/scribble/scribble.scrbl +++ b/collects/scribblings/scribble/scribble.scrbl @@ -93,3 +93,5 @@ information. @include-section["basic.scrbl"] @include-section["manual.scrbl"] @include-section["eval.scrbl"] + +@index-section["scribble-index"]