Simon Marlow wrote:
> While I agree with these points, I was converted to record punning
> (actually record wildcards) when I rewrote the GHC IO library. Handle
> is a record with 12 or so fields, and there are literally dozens of
> functions that start like this:
>
> flushWriteBuffer :: Handle
Hello,
In order to keep the discussion structured I have created two tickets
in the haskell-prime trac system
(http://hackage.haskell.org/trac/haskell-prime):
* Proposal 1: Add pre-Haskell'98 style punning and record
disambiguation (ticket #136)
* Proposal 2: Add record-wildcards (ticket #137)
On 14:23 Thu 25 Feb , John Meacham wrote:
> On Thu, Feb 25, 2010 at 10:40:48AM -0500, Nick Bowler wrote:
> > *** Idea #1 ***
> >
> > Add two methods to the RealFloat class:
> >
> > toDouble :: RealFloat a => a -> Double
> > fromDouble :: RealFloat a => Double -> a
> >
> > and a functio