[26634] in Athena Bugs

home help back first fref pref prev next nref lref last post

linux 9.4.15: scheme

daemon@ATHENA.MIT.EDU (Jeffrey S Walden)
Mon Sep 26 18:21:02 2005

Message-Id: <200509262220.j8QMKQif029621@ozok-the-destroyer.mit.edu>
To: bugs@mit.edu
Date: Mon, 26 Sep 2005 18:20:26 -0400
From: Jeffrey S Walden <jwalden@mit.edu>
X-Spam-Score: 1.041
X-Spam-Level: * (1.041)
X-Spam-Flag: NO
Errors-To: bugs-bounces@mit.edu

System name:		ozok-the-destroyer.mit.edu
Type and version:	i686 9.4.15 (with mkserv)
Display type:		ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)]

Shell:			/bin/athena/bash
Window manager:		unknown

What were you trying to do?
I was trying to run the code for a testing suite framework for 6.034.  (The testing code is in ~jwalden/Public/tester.scm for reference.)  The testing framework functions properly on the version of Scheme installed on the main athena.dialup.mit.edu machine, but the version on ozok-the-destroyer doesn't function in quite the same way.

What's wrong:
The framework contains the following lines of code:

(if (not (eq? #f '()))
    (begin
      (pp "You are not using MIT Scheme. You are probably using 6.001 scheme.")
      (pp "This will cause your code to fail and you will get bad grades.")
      (pp "Use 'add scheme' to get your scheme instead of 'add 6.001'")
      (error))
    'ok)

The version of Scheme on the main dialup works correctly, because #f is the same as '().  On ozok, however, #f is not the same as '(), so a warning message is displayed.

(I don't actually know whether the framework contains any code which would actually execute incorrectly; however, the fact that the course admins have decided this makes it likely there's something that can't be triviallly worked around.)

What should have happened:
The version of Scheme on ozok-the-destroyer should be the same as the version available at athena.dialup.mit.edu (accessible via 'add scheme;scheme' on both the MIT dialup and ozok-the-destroyer).

home help back first fref pref prev next nref lref last post