Composition operator [was: Re: Records in Haskell]

Malcolm Wallace malcolm.wallace at
Thu Jan 12 22:23:00 CET 2012

On 12 Jan 2012, at 18:41, Evan Laforge wrote:

>>> Unicode dot (∘) would be optimal, since that's what it's for.
>> Is ∘ (U+2218 RING OPERATOR)* in Prelude yet? We should propose that.**
> However, changing the composition operator from (.) will involve huge
> amounts of changes to source code. 

Indeed.  It strikes me that it should be the _new_ feature that takes the new syntax, rather than stealing the old syntax and disrupting all the existing code that happily uses . for function composition.

So, who is up for proposing centred dot as the new record-field syntax?


More information about the Glasgow-haskell-users mailing list