Proposal: Dot as Postfix Function Apply

Alexander Berntsen alexander at plaimi.net
Thu Nov 5 06:22:19 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 04/11/15 22:09, Mike Meyer wrote:
> Alexander Berntsen suggested adding a new fixity so you could
> declare operators that bind tighter than function application.
> 
> [...]
> 
> Since such a change doesn't break any existing code, it doesn't
> need to be an extension that's enabled. It's a need I've felt every
> so often myself.
This is false. If it weren't an extension, GHC would accept (more)
programs that are not valid Haskell 2010. This would be a mistake.

Even if it doesn't break any existing code, it *would extend* the
language. As such, it should, naturally, be a language extension.
- -- 
Alexander
alexander at plaimi.net
https://secure.plaimi.net/~alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJWOvWaAAoJENQqWdRUGk8B3pIQALfE214fi0OmtukqURYKg52n
4TAu99yDVIZzZmoYe4ZMGHqJoi1eG4DnYw/pNgn+Q4CLRea44i2/rOJkmlWu141m
SV/Kuhiji4ciQg6XtX7c60s441OdQrvq7ZEzSyM0TpxGFVFJ08E8uTySTnV/RTcX
fc8+F04GuA3NIESazIHz3QaYNjzBgtLHe8YZCQkUG/x8FNnvaPV5Dbh60B/2g6Yk
BavmTHWZccVs/fXplLNLms+t5iWaJQKJTpUi5cnXCLKjVnW4njpsSMQRt5IN+wRD
r1qzcpfwPtRDr2Pd4co37KyszKPyWeKNU+vO7KlOmNArfrR9wSKtwip5hx9+KJMH
OG5hq8aDNy1sas0zN2DKhhynaFxP90OULaDq/xN2IBFOje4+VyHmGP0dZHev+3NT
ggjhf6hOG8ALTzzSuBUJRAiF7s0g73NVeqSCo/p/0g2Aw8cXzdme45XIDuxLvsaf
MAFYEf+rR2gT5k2WylU95wlu4lytuE3IGYn1euLalkJZJrLknMySn8RqqQTQGB5P
IHZwHb17luGaPQWjb6Bd03fYF7ygoaq0SRRaD1KigA9XYReC7Duq/rz/g561vykG
0y0RygwL0VjfNbQw/b/BsCYpfsOobBZrLzSqp72SWHBn4CkCoMpLRPPV7H2OLdjL
tbmy4JyULPSXEK68+C78
=u6Ue
-----END PGP SIGNATURE-----


More information about the Libraries mailing list