Re: [racket] scribble examples using student language printer

2010-11-09 Thread David Van Horn
On 11/7/10 6:58 AM, Matthew Flatt wrote: At Sun, 07 Nov 2010 01:51:29 -0400, David Van Horn wrote: Is there a way to make scribble render the result of evaluating examples as if the examples were run in a student language in DrRacket? In addition to initializing the namespace, you need to set

Re: [racket] scribble examples using student language printer

2010-11-07 Thread Matthew Flatt
At Sun, 07 Nov 2010 01:51:29 -0400, David Van Horn wrote: > Is there a way to make scribble render the result of evaluating examples > as if the examples were run in a student language in DrRacket? In addition to initializing the namespace, you need to set printer-related parameters in the evalua

[racket] scribble examples using student language printer

2010-11-06 Thread David Van Horn
Is there a way to make scribble render the result of evaluating examples as if the examples were run in a student language in DrRacket? Eg., I'd like to see: > (define-struct s (f)) > (make-s 1) (make-s 1) But when I do: #lang scribble/doc @(require scribble/eval (for-label la