[racket-dev] changing #lang plai to depend on racket rather than scheme?

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Wed Jan 19 16:13:26 EST 2011

2011/1/19 John Clements <clements at brinckerhoff.org>:
> I went looking for the immutable hash table functions in plai today, and I discovered that since plai is based on #lang scheme rather than #lang racket, you need to use old names in a bunch of places.
>
> Just for the heck of it, I went ahead and changed scheme -> racket in two places in plai/main.rkt, and... things seem to work fine.  However, I don't see a test suite that I could run to check this.
>
> 1) Is there a test suite somewhere? The obvious one would be running all of the code in the PLAI textbook.

There are very small test suites for the core library (datatype and
test) in tests/plai

> 2) Is there some reason why this change would be a bad idea or cause problems?

I can't think of anything, because so much of the book's use of
library functions is very minimal. I'd go ahead and do it.

Jay

>
> John
>
>
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/dev
>



-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay

"The glory of God is Intelligence" - D&C 93


Posted on the dev mailing list.