| ... | @@ -40,6 +40,13 @@ GHC compiles the same code in both cases. |
... | @@ -40,6 +40,13 @@ GHC compiles the same code in both cases. |
|
|
## Cons
|
|
## Cons
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- string gaps are sometimes really helpful for formatting code neatly; the ++ alternative often necessecitates
|
|
|
|
additional bracketing
|
|
|
|
|
|
|
- breaks some code
|
|
- breaks some code
|
|
|
|
|
|
|
|
|
- the simplification of the lexical syntax is very minor
|
|
|
|
|
|
|
|
- arguably, the syntax highlighting ought to be fixed as that's what at fault, not the language as such
|
|
|
|
|
|
|
- naive compilers won't implement the optimisation, and hence will perform an unnecessary append. |
|
- naive compilers won't implement the optimisation, and hence will perform an unnecessary append. |