[Haskell-cafe] records proposals list

Philippa Cowderoy flippa at flippac.org
Mon Nov 21 10:04:52 EST 2005


On Mon, 21 Nov 2005, David Roundy wrote:

> (b) Create some sort of class that allows getter and/or setter functions
>     for field access.
> 
> (a) involves the creation of a non-function syntax for something that is
> essentially a function--and means you'll need boiler-plate code if you want
> to create accessor functions.  (b) means a proliferation of classes, which
> is perhaps more problematic, but you gain more from it

I'm not sure it's all that bad if we can avoid namespace pollution?

-- 
flippa at flippac.org

Performance anxiety leads to premature optimisation


More information about the Haskell-Cafe mailing list