[plt-scheme] slatex and including unit testable code

From: Grant Rettke (grettke at acm.org)
Date: Wed May 16 10:01:53 EDT 2007

On 5/16/07, Robby Findler <robby at cs.uchicago.edu> wrote:
> Well, you probably wouldn't need to hack the parser to go that route.
> You can use read-syntax to get a version of the file as a value that
> has the source locations in it and then reconstruct things from there.
> Not trivial, but at least you can rely on the manuals for help :)

That sounds like an interesting solution. The idea of being able to
unit test the code that will appear in a book or publication, at any
time, sounds wonderful. At the very least you know that the code
samples you are sharing with the world do something correctly.


Posted on the users mailing list.