... | ... | @@ -37,7 +37,7 @@ The syntax could use some other character than dot (hash \# has been suggested), |
|
|
|
|
|
Note this proposal differs significantly from others for dot syntax, such as:
|
|
|
[http://hackage.haskell.org/trac/haskell-prime/wiki/TypeDirectedNameResolution](http://hackage.haskell.org/trac/haskell-prime/wiki/TypeDirectedNameResolution) (TDNR)
|
|
|
[http://hackage.haskell.org/trac/ghc/wiki/Records/DotOperator](http://hackage.haskell.org/trac/ghc/wiki/Records/DotOperator)
|
|
|
[https://gitlab.haskell.org/trac/ghc/wiki/Records/DotOperator](https://gitlab.haskell.org/trac/ghc/wiki/Records/DotOperator)
|
|
|
|
|
|
|
|
|
Dot notation can be used for any function, not just record fields (as with TDNR, but different to SORF). This supports pseudo- or virtual fields. The declaration:
|
... | ... | |