[mercury-users] Field access functions

Julian Grady julianpg at students.cs.mu.OZ.AU
Fri Oct 18 00:27:49 AEST 2002


Fergus Henderson, Thursday, 17 October 2002:
> On 17-Oct-2002, Julian Grady <julianpg at students.cs.mu.OZ.AU> wrote:
> > I thought I read somewhere that it was possible to have multiple data
> > constructors with the same field name as long as they belonged to the
> > same type.
> 
> Perhaps in the Haskell Report? ;-)
> 

Actually, I think it was in the draft for the Mercury book Rafe is
working on.

Is there any reason why Mercury doesn't support this? 
--------------------------------------------------------------------------
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