Subject: Re: Return Values
From: rpw3@rigden.engr.sgi.com (Rob Warnock)
Date: 1998/07/06
Newsgroups: comp.lang.scheme
Message-ID: <6nq0ma$9dghf@fido.engr.sgi.com>

Michael Powe  <michael+gnus@trollope.org> wrote:
+---------------
| I'm using MIT Scheme on a linux box...
| The question arises from the values returned when the two tuples are
| not of the same length.  In the first case, the value returned is ()
| or #f.  In the second case, the value returned is 0.
...
| 1 ]=> (psum '(1) '(1 2))
| The tuples are not equal in length.
| ;Value: ()
+---------------

When I use Rice's MzScheme to try your "psum" with unequal lengths, I get:

	> (psum '(1) '(3 4))
	The tuples are not equal in length.0
	> 

[Note that the value "0" is printed on the same line as the message,
since you have no "(newline)" there, and like many Lisp & Schemes
MzScheme prints no "value prompt".]

So I'd say either what you posted is not actually what you ran, or else
there is a *really* weird bug in MIT Scheme...


-Rob

-----
Rob Warnock, 7L-551		rpw3@sgi.com   http://reality.sgi.com/rpw3/
Silicon Graphics, Inc.		Phone: 650-933-1673
2011 N. Shoreline Blvd.		FAX: 650-933-4392
Mountain View, CA  94043	PP-ASEL-IA