Hello,
My 2c: I don't think that supporting trailing commas is worth the
additional complexity to the compiler and the language.
I work with Haskell on a daily basis, and I honestly don't think that this
is going to simplify my job in any way. On the other hand, it seems like
it it will make it
Ah, just look at all these brace-and-semicolon languages, and how they
thrive, and how many beginners have mastered them...
#include stdio.h
int main () {
; /* It is sunny today, so I am in the mood for a leading semi. */
; /* Still not in the mood to start work. */
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On 25/09/14 09:13, Iavor Diatchki wrote:
I work with Haskell on a daily basis, and I honestly don't think
that this is going to simplify my job in any way.
I too work with Haskell every day, and I *know* this will make my job
easier.
On the
Is there a way to build the user guide without having to build everything? The
wiki [1] suggests
cd docs/users_guide
make html stage=0 FAST=YES
but that doesn't seem to work.
Janek
[1] https://ghc.haskell.org/trac/ghc/wiki/Building/Docs
___
ghc-devs
I agree with Iavor on this one. I use Haskell professionally as well, and
I'm actually quite fond of what it leaves out in terms of both syntax and
semantics, as opposed to what it adds. Whether it's pragma protected or
not, I just don't see the point of complicating the language with such a
The reason to support trailing commas are entirely related to engineering
and not language expressiveness. Having trailing commas means that diff
tools and version control systems work better. This is why most languages
support them.
___
ghc-devs mailing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On 25/09/14 11:18, Simon Peyton Jones wrote:
· If we have it at all, ExtraCommas should be a {-#
LANGUAGE ExtraCommas #-} extension, like any other.
· ExtraCommas should leave tuples alone (always)
OK?
These are the core
Maybe try BUILD_DOCBOOK_HTML=YES
Edward
Excerpts from Jan Stolarek's message of 2014-09-25 01:26:35 -0700:
Is there a way to build the user guide without having to build everything?
The wiki [1] suggests
cd docs/users_guide
make html stage=0 FAST=YES
but that doesn't seem to work.
Sounds good to me.
On Thu, Sep 25, 2014 at 11:18 AM, Simon Peyton Jones simo...@microsoft.com
wrote:
There’s a danger of disappearing into a bikeshed here. I think it’s
clear that:
· If we have it at all, ExtraCommas should be a {-# LANGUAGE
ExtraCommas #-} extension, like any
On 2014-09-25 at 11:18:01 +0200, Simon Peyton Jones wrote:
That would suggest continuing to make extra commas illegal in literal
lists, for now anyway. That’s a conservative choice, which is usually
the side to err on when it’s a toss-up.
I'd just like to point out, that lists are something
On Thu, Sep 25, 2014 at 12:03:13PM +0200, Herbert Valerio Riedel wrote:
I'd just like to point out, that lists are something that you may want
to tweak regularily in code (while tuple are rather fixed-size entities whose
size is extended less frequently)
Consider the following JSON example:
11 matches
Mail list logo