[mercury-users] Existential types and if-then-else

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Oct 15 20:56:10 AEST 1999


On 07-Oct-1999, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> On 06-Oct-1999, Peter Ross <petdr at cs.mu.OZ.AU> wrote:
> > exist3.m uses maybe which has an existentially typed data constructor.
> ...
> > :- type maybe
> > 	--->	no
> > 	;	some [T] (yes(T) => tc(T)).
> 
> That type definition should be allowed, but currently the compiler
> reports some spurious errors in the automatically generated
> unification/compare predicates for that type.  This is a compiler bug.
> I'll have a look at it.

I committed a fix for that one this afternoon.
The fix will be included in our next release-of-the-day.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list