[plt-scheme] Error on DrScheme 301

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Fri Jun 16 22:02:33 EDT 2006

On Jun 16, 2006, at 9:46 PM, wooks wooks wrote:

>
> The only change that I have made  to the original settings is to set 
> up Simply Scheme as a language by running this
>
> http://hkn.eecs.berkeley.edu/~dyoo/cs3/simply-scheme/

Then dyoo's simply-scheme defines a stop function. Danny?

> I do not know how to do the things you mentioned in your email or why 
> I would want to do them.

Surely you know how to define a function with the name stop, like this:

(define (stop x) 0)

or

(define stop (lambda (x) 0))

I strongly recommend that you do not use the simply-scheme teachpack 
but some HtDP language. draw.ss and world.ss will work in there.

-- Matthias






>
>
>
> ----Original Message Follows----
> From: Matthias Felleisen <matthias at ccs.neu.edu>
> To: "wooks wooks" <wookiz at hotmail.com>
> CC: plt-scheme at list.cs.brown.edu
> Subject: Re: [plt-scheme] Error  on DrScheme 301
> Date: Fri, 16 Jun 2006 15:51:17 -0400
>
> This is not an error in drscheme. It's an error in _your_ program or 
> drscheme settings:
>
> 1. You have either included another teachpack that defines stop.
>
> 2. Or you have defined stop in your Definitions Window.
>
> I will freely admit that this error message could be improved, 
> especially for people who are trying to learn to program.
>
> -- Matthias
>
>
> On Jun 16, 2006, at 3:28 PM, wooks wooks wrote:
>
>>
>> I get the error below if I try to load the hangman.ss and draw.ss 
>> teachpacks simultaneously without any other code.
>>
>> The teachpack file C:\Program Files\PLT\teachpack\htdp\draw.ss did 
>> not load properly.
>> teachpack: export of stop from #<path:C:\Program 
>> Files\PLT\teachpack\htdp\draw.ss> conflicts with already existing 
>> definitions
>>
>>
>> _________________________________________________
>>  For list-related administrative tasks:
>>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme



Posted on the users mailing list.