[m-dev.] Foreign type compare and unification
Fergus Henderson
fjh at cs.mu.OZ.AU
Sat May 11 15:17:59 AEST 2002
On 10-May-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> I have been thinking about treating foreign types like the c_pointer type
> for their RTTI and comparision and unification predicates, ie a foreign type
> in the compiler will be treated as if it was an equivalence type where the
> RHS of the equivalence is c_pointer.
That seems reasonable.
After all c_pointer is really just the old way of defining foreign types.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list