Re: [CLOS] Ensuring a method exists



Pascal Costanza <pc@xxxxxxxxx> writes:

I said "depending on context" for a reason: I think something like
dynamically scoped functions or ContextL can be of use here. For
example, the different cases could be captured in different
ContextL-layers and then selected appropriately.

I don't know if dynamically scoping the equality is the right thing to
do. You don't want your idea of equality for this current situation to
propagate into some other library whose function you happen to be
calling.

Not sure how ContextL really works. Maybe someone can explain it to me
at 7 today. :)

--
Rahul Jain
rjain@xxxxxxxx
Professional Software Developer, Amateur Quantum Mechanicist
.



Relevant Pages

  • Re: Live code patching in Lisp
    ... With something like dynamically scoped functions or ContextL, it should be possible to activate new definitions only for newly spawned threads, without affecting already executing threads. ... with their "package", so you could just give them a new package of definitions. ... But I'm not sure if you can actually "drop" packages, or use packages as first-class values in Lisp, so ContextL layers sound interesting there. ...
    (comp.lang.lisp)
  • Re: [CLOS] Ensuring a method exists
    ... Rahul Jain wrote: ... dynamically scoped functions or ContextL can be of use here. ... My website: http://p-cos.net ... Closer to MOP & ContextL: http://common-lisp.net/project/closer/ ...
    (comp.lang.lisp)
  • Re: Lisp, 50th Birthday
    ... Pascal Costanza wrote: ... Those are Java ports, yes? ... My libraries are used in production systems, my users are very happy with those libraries, and both myself and my users are actually making money with them. ... Closer to MOP & ContextL: http://common-lisp.net/project/closer/ ...
    (comp.lang.lisp)
  • Re: Lisp, 50th Birthday
    ... Pascal Costanza wrote: ... Those are Java ports, yes? ... My libraries are used in production systems, my users are very happy with those libraries, and both myself and my users are actually making money with them. ... Closer to MOP & ContextL: http://common-lisp.net/project/closer/ ...
    (comp.lang.lisp)
  • Re: dlambda, or, closure over dynamic bindings
    ... Pascal Costanza writes: ... independently from the rest of ContextL. ... If there is strong demand for ...
    (comp.lang.lisp)