Records in Haskell

Matthew Farkas-Dyck strake888 at gmail.com
Wed Dec 21 01:57:39 CET 2011


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((∘));

(.) = (!);



More information about the Glasgow-haskell-users mailing list