Unbound variable error when loading external procedure

Discussion of Scheme and Racket
Post Reply
theblacksquid
Posts: 1
Joined: Tue May 05, 2015 11:42 am

Unbound variable error when loading external procedure

Post by theblacksquid » Wed May 06, 2015 12:07 am

Hi! I'm a hobbyist programmer who happen to have been fortunate (or arrogant) enough to read a certain blog post saying that is Lisp is opaque to you, that means you shouldn't be a programmer.

Anyways, to the problem, I've already described my problem on stack overflow in as much detail as I could put there. Whenever I write the "exponent" procedure in the same file as the command that calls it up, it works, but runs into the above error when it gets loaded up from an external file. Any help is appreciated.

Arigatou Gozaimasu.
^ _ ^

SnivelyNogood
Posts: 1
Joined: Tue May 03, 2016 10:55 am

Re: Unbound variable error when loading external procedure

Post by SnivelyNogood » Wed May 04, 2016 6:18 pm

My condolences to anyone who makes the mistake of posting on StackOverflow. It's an abusive environment.

Sorry I can't answer your question, but could you tell me how Chicken is working out for you? I find MIT to be rather stupid (and am using it only for SICP).

nuntius
Posts: 538
Joined: Sat Aug 09, 2008 10:44 am
Location: Newton, MA

Re: Unbound variable error when loading external procedure

Post by nuntius » Thu May 05, 2016 7:17 pm

Snively, give Racket a try.

http://racket-lang.org/

It even includes support for SICP.

https://docs.racket-lang.org/sicp-manual/index.html


P.S. In the future, please open new questions in a new thread.

Post Reply