One more 'do' pattern
Thomas Davie
tom.davie at gmail.com
Sat Mar 28 06:04:01 EDT 2009
On 28 Mar 2009, at 10:52, Bulat Ziganshin wrote:
> Hello Thomas,
>
> Saturday, March 28, 2009, 12:41:50 PM, you wrote:
>
>>> and you have written GUI in FP style? with trees, d&d support and so
>>> on?
>
>> I haven't, I'm working on a different part of the app √ Peter
>> Verswyvelen has though.
>
> :) the problem is that no GUI library except for gtk2hs supports d&d.
> and i think that no functional GUI library support trees too
>
> it's why i asked - you work on functional part of project and FP
> features are enough for your work. and you think that everything that
> you personally don't use should be omitted from haskell
To get back on topic though... Here's *why* I don't want these
specific things I wouldn't use added to haskell:
• The syntax gains very little over the nice consistent syntax we
already have – all you do is move a symbol a little to the left.
• For that small benefit we gain all these disadvantages
• The language gets harder to parse
• We gain more reserved words that we can't use in our programs
• We gain more corner cases that can't be explained simply using
the basic rules of how application works in Haskell
• We gain a syntax that even more than previously indicates that
things will be executed in order (which is a total lie)
• We encourage people to write code unnecessarily in an imperative
style
Hope that helps clarify why I'm objecting to this.
Bob
More information about the Haskell-prime
mailing list