[racket] scribble racketinput and racketresult
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:
http://git.racket-lang.org/plt/blob_plain/HEAD:/collects/db/scribblings/introduction.scrbl
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)]