← Back to context

Comment by anon_d

12 years ago

That's how I was doing it. It's been too long to remember the details, but I remember that there are different phases when code is loaded, and it can get very tricky when you're doing heavy meta-programming stuff. Everything works when load your new definitions from a buffer into the repl, but when you try to load it again from a file, all the phase issues come into play.

Yes, there is some potential for confusion here. Usually the problems can be solved by appropriate use of EVAL-WHEN.