Re: Rationale for some idiosyncratic conventions in Prolog?
From: Brian Hulley (brianh_at_metamilk.com)
Date: 02/28/05
- Next message: Brian Hulley: "Re: List cons functor (was Re: The meaning of module overriding syntax mod:goal in different Prologs)"
- Previous message: Bart Demoen: "Re: Deleting elments of a list which are in it more than once"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Feb 2005 14:08:04 -0800
The only reason is that in C++, == means pointer equality, and when
dealing with circular data structures it is natural (for me at least)
to think in terms of pointers when recursing through the structure ie
for me ==/2 just *is* this relation and I think I even used it as such
once when I was a student without even considering that it had anything
to do with the standard order - of course it is always an error to
assume the universe is defined by C, C++ conventions :-)