[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
quasiquote in a class definition
That's because the method's value is captured at the time when you
create the association list.
In general, I don't think you want to be writing code like this at
all. This doesn't seem to be a good use of an association list (and,
consequently, of quasiquote). If you think about it, an object itself
is a kind of association list between names and fields/methods. So
why not just use an object instead?
Shriram