Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what I did wrong? #2

Open
GoogleCodeExporter opened this issue Aug 28, 2015 · 1 comment
Open

what I did wrong? #2

GoogleCodeExporter opened this issue Aug 28, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Hi

I've got cpscm compiled without problem, 
but the first sample code I tried gives this error:

echo '(define list-index (lambda (pred lst)
  (call/cc (lambda (return)
    (for-each (lambda (i x)
                (if (pred x) (return i))
              ) (idx-interval lst) lst)
  #f))))' > t.sc
echo '(import scm2scm)(scm2scm:compile "t.sc" "tt.sc")' |
 csi -q danm/chicken-prelude.scm cpscm.scm

; visiting scm2scm.scm ...
Error: unbound variable: 14598332513316644$$scm2scm:compile

NOTE: (import scm2scm) was evaluated OK

what I did wrong?

Thanks

Original issue reported on code.google.com by narutoca...@gmail.com on 26 Aug 2008 at 4:30

@GoogleCodeExporter
Copy link
Author

OK, once I switch to SISC, the problem goes away. 

Original comment by narutoca...@gmail.com on 26 Aug 2008 at 5:12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant