[racket] returning values in #lang racket/load

From: Jukka Tuominen (jukka.tuominen at finndesign.fi)
Date: Tue Sep 13 08:32:29 EDT 2011


I wonder if there's a way to return values in #lang racket/load other than
specifically printing them out?

I noticed that side effects (like print, display, GUI) work as usual, but
there's no actual return value.

e.g. (in definitions pane)

(+ 1 2 3) >> _

(display (+ 1 2 3)) >> 6 (purple rather than blue)

br, jukka

|  J U K K A   T U O M I N E N
|  m a n a g i n g   d i r e c t o r  M. A.
|  Finndesign  Kauppiaankatu 13, FI-00160 Helsinki, Finland
|  mobile +358 50 5666290
|  jukka.tuominen at finndesign.fi  www.finndesign.fi

Posted on the users mailing list.