[Haskell-cafe] Usage of . and $

Simon Peyton-Jones simonpj at microsoft.com
Wed Mar 7 20:40:44 EST 2007

| type a $ b = a b
| (Probably needs -fglasgow-exts.) Sadly we don't have a fixity system
| for type operators :(

Actually GHC lets you give fixity declarations for type operators too.

NB that infix type constructors must start with ":", just like infix data constructors.


More information about the Haskell-Cafe mailing list