Thank you for this piece of very good advice! I will change the direction as you suggested, and it is good to know that the problem was not that I had missed something, but that my approach was not feasible.
Best, -Mikko On 12.4.2012, at 21:38, Jay McCarthy wrote: > Using Racket predicates like that would be a very bad idea and hard to > get working as you've discovered. > > I think the correct approach is to wrap the Racklog program in a > Racket program that makes queries of the *log and then asks questions > of the user afterwards and repeats the query if necessary. > > I think of *log as a database that exists at an arm's reach from the > computation of import and so it shouldn't do too much work and > definitely shouldn't do IO. > > Jay > > -- > Jay McCarthy <j...@cs.byu.edu> > Assistant Professor / Brigham Young University > http://faculty.cs.byu.edu/~jay > > "The glory of God is Intelligence" - D&C 93
____________________ Racket Users list: http://lists.racket-lang.org/users