[m-dev.] For review: hash table implementation

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Feb 6 00:53:24 AEDT 2001


On 05-Feb-2001, Ralph Becket <rbeck at microsoft.com> wrote:
> From Fergus Henderson on 05/02/2001 12:18:45
> > (2) dynamic cast only works for casting to ground types,
> >     not for pattern matching with partially instantiated
> >     type patterns, e.g. `array(T)'.  Probably the compiler
> >     issued a warning for this.  Read the compiler warnings.
> >     Compile again with `-E' and read them again.
> 
> Rats.  I recall there's a solution to this problem; I'll dig it up
> and apply it.

See the code for io__write_univ in library/io.m for an example
of how to solve it.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  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