[racket] scribble racketinput and racketresult

From: Danny Yoo (dyoo at cs.wpi.edu)
Date: Tue May 8 12:50:34 EDT 2012

On Tue, May 8, 2012 at 10:45 AM, Neil Van Dyke <neil at neilvandyke.org> wrote:
> In Scribble'd docs, what is the right, conventional way to show that
> expression A produces value(s) B, but without using Scribble's "interaction"
> form?

I remember seeing that the db documentation that did this something
like this with a @my-interaction form, but that surely can't be the
library name for it... :)  Let me check...

(... reading through:
and http://git.racket-lang.org/plt/blob_plain/HEAD:/collects/db/scribblings/config.rkt)

Would eval:alts be applicable to this problem?  For example:

#lang scribble/manual
@(require scribble/eval)
@interaction[(eval:alts (compute-answer-to-life) 42)]

Posted on the users mailing list.