Works for me on the elephant-1.0 repository. You have to indicate in
the base class that subclasses will inherit its index. Then you do
get-instances-by-value/range on any class on the inherited slotname to
get all instances inheriting from the base.
Ian
On Jul 14, 2009, at 4:01 PM, Red
On Tue, Sep 16, 2008 at 7:20 AM, Ian Eslick wrote:
> There is an :inherit slot keyword option for indexed slots. It causes
> subclasses of the defining class to share the index of the base class. You
> can inhibit subclass sharing by re-defining the slot in the base class. I
> found a bug in u
> I have attached a bundle with three patches against elephant-unstable: one
> correcting a typo in a comment in elephant.asd, one fixing the alien problem
> above, and one with the minimal changes I needed to get elephant running on
> win32/SBCL.
Thanks, that's good code.
Leslie
--
LinkedIn
On Tue, Sep 23, 2008 at 9:09 AM, Elliott Slaughter <
[EMAIL PROTECTED]> wrote:
> On Tue, Sep 23, 2008 at 1:28 AM, Leslie P. Polzer <[EMAIL PROTECTED]
> > wrote:
>
>>
>> > I am a little confused: there doesn't seem to actually be a function
>> called
>> > "db_env_get_max_objects" in libberkeley-db.
> Perhaps win32/SBCL DLL loading is eager and attempts to resolve this
>> symbol right away?
>
>
> Do other lisps not do this?
This is O/S-specific, I think. I think DLL loading is always eager
while SO loading is not, something like that. So maybe SBCL FFI
is missing some workaround that other L
On Tue, Sep 23, 2008 at 1:28 AM, Leslie P. Polzer
<[EMAIL PROTECTED]>wrote:
>
> > I am a little confused: there doesn't seem to actually be a function
> called
> > "db_env_get_max_objects" in libberkeley-db.c (although I do see
> > "db_env_get_lk_max_objects"), but ele-bdb.asd loads fine under
> >
> I am a little confused: there doesn't seem to actually be a function called
> "db_env_get_max_objects" in libberkeley-db.c (although I do see
> "db_env_get_lk_max_objects"), but ele-bdb.asd loads fine under
> linux(x86-64)/SBCL and win32/Allegro. Where is "db_env_get_max_objects"
> actually comi
On Thu, Sep 18, 2008 at 1:39 AM, Leslie P. Polzer
<[EMAIL PROTECTED]>wrote:
>
> > debugger invoked on a UNDEFINED-ALIEN-ERROR:
> > Undefined alien: "db_env_get_max_objects"
>
> Can you confirm that UFFI on win32/SBCL works in other cases?
I can't confirm that win32/SBCL is an "officially suppo
> but i'll probably post combined cursors as contrib (some time later..)
> maybe we can use them if we'll change our mind on this issue or
> for some other stuff
Yes, please!
--
LinkedIn Profile: http://www.linkedin.com/in/polzer
Xing Profile: https://www.xing.com/profile/LeslieP_Polzer
Blog: h
??>> so do you people think that inheritance support on map level is a
??>> right thing?
LPP> Yes, definitely.
LPP> Got a code draft?
yep, sort of.. but i think Ian's approach is "good enough" since
rarely people need both superclass and subclass lookups to
be fast enough.
but i'll probably
> debugger invoked on a UNDEFINED-ALIEN-ERROR:
> Undefined alien: "db_env_get_max_objects"
Can you confirm that UFFI on win32/SBCL works in other cases?
Can you find the alien by using SBCL's FFI directly?
Leslie
--
LinkedIn Profile: http://www.linkedin.com/in/polzer
Xing Profile: https://
On Wed, Sep 17, 2008 at 1:31 AM, Leslie P. Polzer
<[EMAIL PROTECTED]>wrote:
>
> > Error opening shared object "c:\\Program
> > Files\\asdf\\elephant-unstable\\src\\memutil\\libmemutil.dll":
> > 5.
> >[Condition of type SIMPLE-ERROR]
> >
> > Can anyone who works regularly with Windows give me
> Error opening shared object "c:\\Program
> Files\\asdf\\elephant-unstable\\src\\memutil\\libmemutil.dll":
> 5.
>[Condition of type SIMPLE-ERROR]
>
> Can anyone who works regularly with Windows give me advice on compiling
> these dependencies? Thanks.
I don't, but got a backtrace?
--
Li
On Tue, Sep 16, 2008 at 7:20 AM, Ian Eslick <[EMAIL PROTECTED]> wrote:
> There is an :inherit slot keyword option for indexed slots. It causes
> subclasses of the defining class to share the index of the base class. You
> can inhibit subclass sharing by re-defining the slot in the base class. I
There is an :inherit slot keyword option for indexed slots. It causes
subclasses of the defining class to share the index of the base
class. You can inhibit subclass sharing by re-defining the slot in
the base class. I found a bug in unstable and patched it so this
works again.
Calling
> so do you people think that inheritance support on map level is a right
> thing?
Yes, definitely.
Got a code draft?
--
LinkedIn Profile: http://www.linkedin.com/in/polzer
Xing Profile: https://www.xing.com/profile/LeslieP_Polzer
Blog: http://blog.viridian-project.de/
___
??>> Section
??>> 2.10 of the manual mentions that you can "query a base class of type
??>> people to get subclass instances such as employee, manager,
??>> consultant, etc".
??>> I happen to need to do exactly that, but I can't actually find the
??>> appropriate section in the manual.
LPP> I don
> Section
> 2.10 of the manual mentions that you can "query a base class of type
> people to get subclass instances such as employee, manager,
> consultant, etc".
> I happen to need to do exactly that, but I can't actually find the
> appropriate section in the manual.
I don't know where that sect
18 matches
Mail list logo