RE: ANNOUNCE: GHC 7.4.1 Release Candidate 1

2011-12-28 Thread Lauri Alanko
Quoting "Wolfgang Jeltsch" : Am Mittwoch, den 28.12.2011, 12:48 + schrieb Simon Peyton-Jones: Only that BOX is a sort (currently the one and only sort), whereas Constraint is a kind. I'm not sure that BOX should ever be displayed to users. Okay, this makes sense then. However, note that

RE: Unit unboxed tuples

2011-12-28 Thread wagnerdm
Quoting Simon Peyton-Jones : for example. Singleton unboxed tuples are a perfectly valid data type; it's just that we don't (now) have a name for their constructor. Well, Haskell *does* have a mechanism for giving two different implementations to a particular name... class UnboxedUnit a

Re: Records in Haskell

2011-12-28 Thread Greg Weber
On Wed, Dec 28, 2011 at 3:34 PM, Donn Cave wrote: > Quoth Greg Weber , > > On Wed, Dec 28, 2011 at 2:12 PM, Donn Cave wrote: > ... > >> I would think row polymorphism is a must-have. > >> > > > > Perhaps if you want *extensible* records. If you would like to make some > > progress with records i

Re: Records in Haskell

2011-12-28 Thread Donn Cave
Quoth Greg Weber , > On Wed, Dec 28, 2011 at 2:12 PM, Donn Cave wrote: ... >> I would think row polymorphism is a must-have. >> > > Perhaps if you want *extensible* records. If you would like to make some > progress with records in the near future rather than keeping records in > limbo, I think we

Re: Records in Haskell

2011-12-28 Thread Greg Weber
On Wed, Dec 28, 2011 at 2:12 PM, Donn Cave wrote: > Quoth Greg Weber , > ... > > Many of the built-in record proposals seem more ambitious (create a new > > record from an existing one, generalize in some other direction). More > > power or generalization could be very useful, but it can wait for

Re: Records in Haskell

2011-12-28 Thread Donn Cave
Quoth Greg Weber , ... > Many of the built-in record proposals seem more ambitious (create a new > record from an existing one, generalize in some other direction). More > power or generalization could be very useful, but it can wait for later - > Haskell's records are glaringly bad because they la

RE: ANNOUNCE: GHC 7.4.1 Release Candidate 1

2011-12-28 Thread Simon Peyton-Jones
I've pushed a patch to the docs. Thanks S From: glasgow-haskell-users-boun...@haskell.org [mailto:glasgow-haskell-users-boun...@haskell.org] On Behalf Of José Pedro Magalhães Sent: 28 December 2011 15:08 To: Wolfgang Jeltsch Cc: glasgow-haskell-users@haskell.org Subject: Re: ANNOUNCE: GHC 7.4.1

Re: ANNOUNCE: GHC 7.4.1 Release Candidate 1

2011-12-28 Thread José Pedro Magalhães
Hi Wolfgang, On Wed, Dec 28, 2011 at 13:51, Wolfgang Jeltsch wrote: > Am Mittwoch, den 28.12.2011, 12:48 + schrieb Simon Peyton-Jones: > > | By the way, is there a reason behind the fact that “Constraint” uses > the > > | ordinary case, while “BOX” has all three letters capitalized? Wouldn’t

Re: Records in Haskell

2011-12-28 Thread Yitzchak Gale
Greg Weber wrote:> Are Records stalled out again? Simon Peyton-Jones wrote: > Yes, they are stalled again... > There was essentially no reaction.  As it’s quite a lot of work to > implement, and no one seemed to care very much, I put it back on the back > burner.   So that’s where it stands... > W

RE: ANNOUNCE: GHC 7.4.1 Release Candidate 1

2011-12-28 Thread Wolfgang Jeltsch
Am Mittwoch, den 28.12.2011, 12:48 + schrieb Simon Peyton-Jones: > | By the way, is there a reason behind the fact that “Constraint” uses the > | ordinary case, while “BOX” has all three letters capitalized? Wouldn’t > | it be more sensible if it were “Box” instead of “BOX”? > > Only that BOX

Re: Records in Haskell

2011-12-28 Thread Greg Weber
The semantics of Frege's records are layed out in its manual [1] in the following sections: 4.2.1 Algebraic Data type Declaration - Constructors with labeled fields 3.2 Primary Expression The Frege record system explanation is the first one that I could read and immediately understand (oh, it just

RE: ANNOUNCE: GHC 7.4.1 Release Candidate 1

2011-12-28 Thread Simon Peyton-Jones
| By the way, is there a reason behind the fact that “Constraint” uses the | ordinary case, while “BOX” has all three letters capitalized? Wouldn’t | it be more sensible if it were “Box” instead of “BOX”? Only that BOX is a sort (currently the one and only sort), whereas Constraint is a kind. I'

Re: ANNOUNCE: GHC 7.4.1 Release Candidate 1

2011-12-28 Thread Wolfgang Jeltsch
Am Donnerstag, den 22.12.2011, 00:02 +0100 schrieb Bas van Dijk: > On 21 December 2011 19:29, Ian Lynagh wrote: > > * There is a new feature constraint kinds (-XConstraintKinds): > > > > http://www.haskell.org/ghc/dist/stable/docs/html/users_guide/constraint-kind.html > > I'm trying to run

RE: Unit unboxed tuples

2011-12-28 Thread Simon Peyton-Jones
| > Just of out curiosity, what would be a compelling use case for singleton | and unit unboxed tuples? | | For singleton unboxed tuples, any situation where you want to return a | single value but not force its evaluation. This occurs for example | with some low level functions in the implementat