[mercury-users] Field access functions

Yoann Padioleau Yoann.Padioleau at irisa.fr
Fri Oct 18 02:53:54 AEST 2002


Julian Grady <julianpg at students.cs.mu.OZ.AU> writes:

> 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 this draft available somewhere online ?


> 
> 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
> --------------------------------------------------------------------------
> 

-- 
          Yoann  Padioleau,  INSA de Rennes, France,
Opinions expressed here are only mine. Je n'écris qu'à titre personnel.
**____   Get Free. Be Smart.  Simply use Linux and Free Software.   ____**
--------------------------------------------------------------------------
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