Re: Records in Haskell

2011-12-20 Thread Chris Smith
On Tue, Dec 20, 2011 at 5:57 PM, Matthew Farkas-Dyck wrote: > Another thought: > Perhaps bang as record selection operator. It would avoid further > corner cases of dot, and it's not unprecedented in Haskell (e.g. > Data.Map.!). We already have weird syntax rules for dot, and the proposed change

Re: Records in Haskell

2011-12-20 Thread Matthew Farkas-Dyck
Another thought: Perhaps bang as record selection operator. It would avoid further corner cases of dot, and it's not unprecedented in Haskell (e.g. Data.Map.!). If one wished to use dot, one could do this: import Prelude hiding ((.)); import Control.Category.Unicode((∘)); (.) = (!);