Re: Are Logtalk objects "real" objects?...



On Tue, 8 Apr 2008 01:56:38 -0700 (PDT), Paulo Moura
<pjlmoura@xxxxxxxxx> wrote:

Nevertheless, If you really want to use Prolog modules as Logtalk
objects,

No. AI don't want to use modules as objects. As I said, objects and
modules are different things. See Clemens Szyperski paper

Import is not inheritance ? Why we need both: modules and classes

from here

http://research.microsoft.com/users/cszypers/pub/

It is known for quite a long time that we need both: modules and
objects. They perform different functions. There are many languages
that have both, modules and objects.

I would like to have the same in Prolog.

Unfortunately, SICStus objects don't know about modules...

A.L.
.



Relevant Pages

  • Re: Are Logtalk objects "real" objects?...
    ... See Clemens Szyperski paper ... combination of primitives in the (Prolog) world can deal with these or ... what is lacking if none fullfills all requirements. ...
    (comp.lang.prolog)
  • Re: Are Logtalk objects "real" objects?...
    ... See Clemens Szyperski paper ... combination of primitives in the (Prolog) world can deal with these or ... what is lacking if none fullfills all requirements. ...
    (comp.lang.prolog)