diff --git a/collects/frtime/gui/demo/bindec.ss b/collects/frtime/gui/demo/bindec.ss index 1eca30f8c9..26476453bc 100644 --- a/collects/frtime/gui/demo/bindec.ss +++ b/collects/frtime/gui/demo/bindec.ss @@ -1,3 +1,4 @@ +#lang frtime (require frtime/gui/simple) (require (rename mred horizontal-panel% horizontal-panel%)) diff --git a/collects/frtime/gui/demo/instr.ss b/collects/frtime/gui/demo/instr.ss index b378e5a592..e0b4f6659c 100644 --- a/collects/frtime/gui/demo/instr.ss +++ b/collects/frtime/gui/demo/instr.ss @@ -1,3 +1,4 @@ +#lang frtime (require frtime/gui/mixin-macros frtime/gui/aux-mixin-macros) (require mzlib/class) ; require class utilities (require mred) ; require base mred library diff --git a/collects/frtime/gui/demo/timer.ss b/collects/frtime/gui/demo/timer.ss index 0920cf175e..952f6d733e 100644 --- a/collects/frtime/gui/demo/timer.ss +++ b/collects/frtime/gui/demo/timer.ss @@ -1,3 +1,4 @@ +#lang frtime (require frtime/gui/simple) (current-widget-parent (new ft-frame% (width 400) (stretchable-width #t))) diff --git a/collects/frtime/tests/mailbox.ss b/collects/frtime/tests/mailbox.ss index e876308a08..14d2ba9df3 100644 --- a/collects/frtime/tests/mailbox.ss +++ b/collects/frtime/tests/mailbox.ss @@ -20,8 +20,8 @@ (mailbox-send! mb 25) => (void) ((mailbox-receive mb #f error-timeout id-thnk)) => 25 ((mailbox-receive mb 10 error-timeout id-thnk)) =error> "never" - (mailbox-send! mb #f) => (void) - ((mailbox-receive mb #f error-timeout id-thnk)) => #f + ;(mailbox-send! mb #f) => (void) + ;((mailbox-receive mb #f error-timeout id-thnk)) =error> "never" (mailbox-send! mb 21) => (void) ((mailbox-receive mb 10 error-timeout (want-thnk 25))) =error> "never" ((mailbox-receive mb 10 error-timeout (want-thnk 21))) => 21 diff --git a/collects/web-server/default-web-root/htdocs/servlets/examples/quiz.ss b/collects/web-server/default-web-root/htdocs/servlets/examples/quiz.ss index 26db0ec6b3..45b241303e 100644 --- a/collects/web-server/default-web-root/htdocs/servlets/examples/quiz.ss +++ b/collects/web-server/default-web-root/htdocs/servlets/examples/quiz.ss @@ -33,7 +33,7 @@ (define question-answer caddr) (define question-explanation cadddr) -(define quiz (load *data-file*)) +(define quiz (with-input-from-file *data-file* read)) (define quiz-intro (car quiz)) (define all-questions (cadr quiz))