[Haskell-cafe] RE: data vs newtype (was: OOP'er with (hopefully) trivial questions)

Bayley, Alistair Alistair_Bayley at invescoperpetual.co.uk
Mon Dec 17 08:56:10 EST 2007


> From: Bayley, Alistair 
> 
> > newtype A a = A a
> and
> > data A a = A a

Sorry, that should read:

> newtype A = A a
> data A = A a
*****************************************************************
Confidentiality Note: The information contained in this message,
and any attachments, may contain confidential and/or privileged
material. It is intended solely for the person(s) or entity to
which it is addressed. Any review, retransmission, dissemination,
or taking of any action in reliance upon this information by
persons or entities other than the intended recipient(s) is
prohibited. If you received this in error, please contact the
sender and delete the material from any computer.
*****************************************************************



More information about the Haskell-Cafe mailing list