When I had a similar problem regarding eval and the REPL, the fine folks
of this mailing list pointed out that the namespace-argument of eval
makes all the difference, as explained here
http://docs.racket-lang.org/guide/eval.html?q=namespace#%28tech._namespace%29
Have you tried supplying a namespace to eval, possibly obtained using
define-namespace-anchor after your imports?
On 26.04.14 14:57, AbdUr-RehMan wrote:
eval working fine in REPL but gives "ask: unbound identifier;
also, no #%app syntax transformer is bound in: ask" error when used
in source file like
(require racket/include)
(include "world.rkt")
(eval '(ask abdur 'go 'north))
I have seen various questions regarding the same eval issue on racket
mailing list and in the documentation
but I didn't came across a case where they touch on case like this
where I am including another file and the function is defined in that
class.
Any help would be greatly appreciated,
Thanks
____________________
Racket Users list:
http://lists.racket-lang.org/users
____________________
Racket Users list:
http://lists.racket-lang.org/users