On Thu, Jun 12, 2008 at 2:58 PM, William Ramsay <[EMAIL PROTECTED]> wrote: > A quick question. I may be going going insane. > > I have the following code: > > (define foo > (lambda (v) > (let > ((wa (vector-ref v W1)) > (wb (vector-ref v W2))) > > (if (> wb 0) > (if (char=? wa #\R) > (bar1 wa wb) > (bar2 wa wb)))))) >
Chicken here makes something dirty: it replaces char=? with eq?. I assume you are actually storing numbers (otherwise ">" should fail)? That replacement is questionable, of course. But your code seems to mix up argument types. cheers, felix _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
