[racket] Printing and doing something does neither - why?

From: Carolyn Oates (carolynoates at yahoo.com)
Date: Sun May 22 12:18:19 EDT 2011

Hi,
I am wanting to both print something and do something.
I found an example in the Racket guide p.20 sec.2.2.1
Only nothing comes back in the interactions.
It runs fine - no errors, but appears to do nothing.

Both printf and string-append are suppose to be in racket and racket/base.
Any ideas?
Thanks, Carolyn

The code: (using Racket ver.5.1.1)
#lang racket
(require racket/base)

(define (bake flavor)
(printf "pre-heating oven...\n")
(string-append flavor " pie"))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110522/082411e4/attachment.html>

Posted on the users mailing list.