Keep the present Haskell record system!

Lennart Augustsson lennart at augustsson.net
Mon Mar 6 08:14:00 EST 2006


Bulat Ziganshin wrote:
> Hello Lennart,
> 
> Monday, March 6, 2006, 9:50:24 AM, you wrote:
> 
> LA> Yes, I've read the article too.  And I really like the record system.
> LA> But an off-hand remark like that doesn't convince me.
> 
> my own opinion is that this scheme is like classes - they can be
> resolved at compile time in most real cases but noone do it because
> code will be too large. if some function can accept any records which
> has field 'a' then to use this function on records of different types
> we need either to do specialization or use scheme with non-constant
> access time

Yes, your opinion is similar to mine. :)

	-- Lennart



More information about the Haskell-prime mailing list