I am using drscheme from: http://www.archlinux.org/packages/extra/x86_64/drscheme/
I try to work with sample code in my tutorial, but I keep getting "unbound identifier" errors. Is this because the schema interpreter is not configured correctly? or just the wrong code?
Here are some examples:
Input:
#lang scheme (define (equalimp lis1 lis2) (COND ((NULL? lis1) (NULL? lis2)) ((NULL? lis2) '()) ((EQ? (CAR lis1) (CAR lis2)) (equalimp (CDR lis1) (CDR lis2))) (ELSE '()) ))
Conclusion:
Welcome to DrScheme, version 4.2.5 [3m]. Language: scheme; Memory limit: 128 MB.
expand: unbound identifier in module in: COND
Input:
Conclusion:
expand: unbound identifier in module in: LET
Note. I tried using LET * because I read this: stackoverflow.com/questions/946050/using-let-in-schem, but it is causing the same error.
Thanks!
source share