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

(install-clojure-repl) doesn't work from Scheme mode #10

Open
magiccookie opened this issue Apr 9, 2017 · 4 comments
Open

(install-clojure-repl) doesn't work from Scheme mode #10

magiccookie opened this issue Apr 9, 2017 · 4 comments

Comments

@magiccookie
Copy link

> (install-clojure-repl) 

*** ERROR IN ##main -- Unbound variable: ##fixnum.<
*** ERROR IN ##main -- Unbound variable: ##fixnum.<
*** ERROR IN ##main -- Unbound variable: ##fixnum.<
*** ERROR IN ##main -- Unbound variable: ##fixnum.<
*** ERROR IN ##main -- Unbound variable: ##fixnum.<
*** ERROR IN ##main -- Unbound variable: ##fixnum.<
*** ERROR IN ##main -- Unbound variable: ##fixnum.<
...
@divs1210
Copy link

divs1210 commented Aug 1, 2017

I'm facing the same problem

@bertfrees
Copy link

Me too. Please help.

@bertfrees
Copy link

bertfrees commented Feb 6, 2019

The following change in samples/repl/src/clojure-repl.scm fixes the issue:

 			 (output-port (macro-repl-channel-output-port channel)))
-	 (if (##fixnum.< 0 level)
+	 (if (##fx< 0 level)
 			 (##write level output-port))
-	 (if (##fixnum.< 0 depth)
+	 (if (##fx< 0 depth)
 			 (begin

see https://mailman.iro.umontreal.ca/pipermail/gambit-list/2014-January/007406.html

@divs1210
Copy link

divs1210 commented Aug 9, 2021

Worked for me, thanks!

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

No branches or pull requests

3 participants