Skip to content

more lenient operator sections (RelaxedSections extension)

Some operator sections are rejected which could have some meaning.

(a ++ b ++ )  could mean  \x -> a ++ b ++ c
(++ a ++) could mean \x y -> x ++ a ++ y

The attached quasiquoter implements this, but for various reasons it would be better if ghc supported this directly.

Trac metadata
Trac field Value
Version 7.6.3
Type FeatureRequest
TypeOfFailure OtherFailure
Priority lowest
Resolution Unresolved
Component Compiler (Parser)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information