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
A temporary workaround could be to not remove the Xcode 4.1 and install the new
Xcode 4.2 in a different location. This is just a little disk space expensive,
but I've experimented with success this workaround with the last Xcode 4.2
developer seed.
Let me know if there are news about other is
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
2011/10/5 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
On Wed, Oct 5, 2011 at 8:23 AM, Roman Leshchinskiy 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.
>
> Wha
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 lis
| 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
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,
it
[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