[Haskell-cafe] AbstractDataType question

Tomasz Zielonka tomasz.zielonka at gmail.com
Mon Dec 13 08:15:26 EST 2004

On Mon, Dec 13, 2004 at 11:29:56AM +0100, Ketil Malde wrote:
> Tomasz Zielonka <tomasz.zielonka at gmail.com> writes:
> > Record field labels can be also used in pattern matching and in
> > record update. Especially the latter is very useful. 
> But not quite as elegant -- while record query lets you modify the
> underlying structure and replace the old record queries with
> functions, I don't think there's a way to do this for record updates
> (or am I wrong?) 

No, I think you are right.

Best regards,

More information about the Haskell-Cafe mailing list