... | ... | @@ -60,7 +60,7 @@ See below for how we resolve the type of this code. |
|
|
### Details on the dot
|
|
|
|
|
|
|
|
|
This proposal requires the current Haskell function composition dot operator to have spaces on both sides. No spaces around the dot are reserved for name-spacing: this use and the current module namespace use. No space to the right would be partial application (see TypeDirectedNameResolution?(TDNR). The dot operator should bind as tightly as possible.
|
|
|
This proposal requires the current Haskell function composition dot operator to have spaces on both sides. No spaces around the dot are reserved for name-spacing: this use and the current module namespace use. No space to the right would be partial application (see [TDNR](/trac/ghc/wiki/TypeDirectedNameResolution). The dot operator should bind as tightly as possible.
|
|
|
|
|
|
|
|
|
Given the dot's expanded use here, plus its common use in custom operators, it is possible to end up with dot-heavy code.
|
... | ... | |