RE: FW: Two Proposals

2011-10-05 Thread Simon Peyton-Jones
[adding ghc-users] It's not easy, Phil. Do you have any ideas? For the 'then' case the name of the function serves as the verb. One might say then take 4 or then takeWhile by salary 40 For grouping one might like to say the same thing, such as then groupBy by salary

GHC, Clang XCode 4.2

2011-10-05 Thread austin seipp
There has been recent discussion on the Homebrew bug tracker concerning the upcoming XCode 4.2 release by Apple, which has apparently just gone GM (meaning they're going to make a real release on the app store Real Soon Now.) The primary concern is that XCode will no longer ship GCC 4.2 at all,

RE: Two Proposals

2011-10-05 Thread Simon Peyton-Jones
| In the spirit of don't let the perfect be the enemy of the good | though, I'm solidly in favor of the original proposal as it is. This is my thought too. George is proposing to extend Haskell's existing mechanism for numeric literals (namely, replace 4 by (fromInteger (4::Integer))), so

RE: Two Proposals

2011-10-05 Thread Roman Leshchinskiy
Simon Peyton-Jones wrote: I'm not sure if this plan would support [(fred,45), (bill,22)] :: Map String Int. Probably not. Maybe that's a shortcoming... but such Maps are a rather surprising use of list literals. What data structures other than lists do we want to construct using list

Re: Two Proposals

2011-10-05 Thread Felipe Almeida Lessa
On Wed, Oct 5, 2011 at 8:23 AM, Roman Leshchinskiy r...@cse.unsw.edu.au wrote: Simon Peyton-Jones wrote: I'm not sure if this plan would support [(fred,45), (bill,22)] :: Map String Int.  Probably not.   Maybe that's a shortcoming... but such Maps are a rather surprising use of list literals.

Re: Two Proposals

2011-10-05 Thread Gábor Lehel
2011/10/5 Simon Peyton-Jones simo...@microsoft.com: |  In the spirit of don't let the perfect be the enemy of the good |  though, I'm solidly in favor of the original proposal as it is. This is my thought too.  George is proposing to extend Haskell's existing mechanism for numeric literals

Re: Two Proposals

2011-10-05 Thread Henrik Nilsson
Hi all, Simon PJ wrote: should we not treat [a,b,c] as short for return a `mappend` return b `mappend` return c [...] I'm not sure if this plan would support [(fred,45), (bill,22)] :: Map String Int. Probably not. Maybe that's a shortcoming... but such Maps are a